[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Proper way to make a patch against CVS source?
From: |
Cameron, Steve |
Subject: |
Proper way to make a patch against CVS source? |
Date: |
Tue, 28 Aug 2001 15:26:37 -0500 |
Hi,
What's the proper way to make a patch file to
CVS these days?
I used to just do "cvs diff -uN > patchfile"
But now that gives a patchfile with loads of files
changed merely by the action of building CVS,
(a little inconvenient, but perhaps my own fault,
see below).
All those */Makefile.in, aclocal.m4 stamp-vti
I didn't touch.
So should I do "make distclean" before making
my patch, or make some other cleaning target?
"distclean" seems like it does more than I would want.
(What is the intended purpose of distclean?)
I can of course do appropriate "rm" followed by
cvs update, but I was just wondering if there was
a simpler way I was merely ignorant about,
now that the build is changing so many source
files. (Or, maybe I should just remove
"automake" from my /usr/local/bin and perhaps
that will avoid this in the future?)
-- steve
Here are all the files "cvs diff" sees as different:
address@hidden mycvs]$ grep '+++' patch.08.28.2001.txt
+++ ChangeLog 2001/08/28 19:59:11
+++ Makefile.in 2001/08/28 19:59:11
+++ NEWS 2001/08/28 19:59:12
+++ aclocal.m4 2001/08/28 19:59:13
+++ contrib/Makefile.in 2001/08/28 19:59:13
+++ diff/Makefile.in 2001/08/28 19:59:13
+++ doc/ChangeLog 2001/08/28 19:59:14
+++ doc/Makefile.in 2001/08/28 19:59:14
+++ doc/cvs.texinfo 2001/08/28 19:59:14
+++ doc/stamp-vti 2001/08/28 19:59:14
+++ doc/version.texi 2001/08/28 19:59:14
+++ lib/Makefile.in 2001/08/28 19:59:14
+++ man/Makefile.in 2001/08/28 19:59:14
+++ src/ChangeLog 2001/08/28 19:59:14
+++ src/Makefile.in 2001/08/28 19:59:14
+++ src/admin.c 2001/08/28 19:59:14
+++ src/checkin.c 2001/08/28 19:59:14
+++ src/checkout.c 2001/08/28 19:59:14
+++ src/commit.c 2001/08/28 19:59:14
+++ src/cvs.h 2001/08/28 19:59:14
+++ src/diff.c 2001/08/28 19:59:14
+++ src/entries.c 2001/08/28 19:59:14
+++ src/log.c 2001/08/28 19:59:14
+++ src/rcs.c 2001/08/28 19:59:15
+++ src/rcs.h 2001/08/28 19:59:15
+++ src/sanity.sh 2001/08/28 19:59:15
++++ xyz ${RFCDATE} 1\.2
+++ src/status.c 2001/08/28 19:59:15
+++ src/tag.c 2001/08/28 19:59:15
+++ src/update.c 2001/08/28 19:59:15
+++ tools/Makefile.in 2001/08/28 19:59:15
+++ vms/Makefile.in 2001/08/28 19:59:15
+++ windows-NT/Makefile.in 2001/08/28 19:59:15
+++ windows-NT/SCC/Makefile.in 2001/08/28 19:59:15
address@hidden mycvs]$
- Proper way to make a patch against CVS source?,
Cameron, Steve <=