Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2000:
[Freeciv-Dev] patch: add diff exclude file to cvs/dist (PR#343)
Home

[Freeciv-Dev] patch: add diff exclude file to cvs/dist (PR#343)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] patch: add diff exclude file to cvs/dist (PR#343)
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Sun, 23 Apr 2000 06:00:00 -0700 (PDT)

On Mon, 03 Apr 2000 Jeff Mallatt wrote:

> At 2000/04/03 00:34 , Falk Hueffner wrote:

> >That reminds me that it would probably be a good idea to add an
> >example "diff -X" file to the hacker's guide, to keep patches
> >small. Here's mine:

> There already is one on the web site in section I) 9. of
> <http://www.freeciv.org/contribute.html>.

I think that better than both those places would be to have a 
file in cvs (and in the distribution tgz) which is "ready to use".  
To that end, here is a patch.  It includes my pick of the best
combination from Falk's post and contribute.html.

> I didn't look closely at yours, but one small problem that I noticed is
> excluding *.sav -- scenario files have the .sav extension.  (They are,
> however, rarely modified.)

I left out *.sav, but included civgame*.sav for autosave games.

-- David

diff -u -r --exclude-from exclude_auto -N freeciv-cvs/Makefile.am 
fc-adv/Makefile.am
--- freeciv-cvs/Makefile.am     Thu Dec 23 16:48:23 1999
+++ fc-adv/Makefile.am  Sun Apr 23 22:51:23 2000
@@ -23,4 +23,4 @@
 
 EXTRA_DIST=    PEOPLE BUGS HOWTOPLAY freeciv_hackers_guide.txt \
                README.AI README.rulesets README.graphics \
-               civ ser config.mac.h
+               civ ser config.mac.h exclude
diff -u -r --exclude-from exclude_auto -N freeciv-cvs/exclude fc-adv/exclude
--- freeciv-cvs/exclude Thu Jan  1 10:00:00 1970
+++ fc-adv/exclude      Sun Apr 23 22:51:14 2000
@@ -0,0 +1,39 @@
+*.a
+*.bak
+*.gmo
+*.o
+*.orig
+*.pot
+*.rej
+*~
+.#*
+.deps
+CVS
+Freeciv.h
+Makefile
+Makefile.in
+POTFILES
+TAGS
+aclocal.m4
+cat-id-tbl.c
+civclient
+civgame*.sav
+civgame.log
+civserver
+config.cache
+config.h
+config.h.in
+config.log
+config.status
+configure
+core
+freeciv-*.tar.gz
+install-sh
+libintl.h
+missing
+mkinstalldirs
+po2tbl.sed
+stamp-cat-id
+stamp-h
+stamp-h.in
+undep.sh

[Prev in Thread] Current Thread [Next in Thread]