From: Ian Jackson Date: Sat, 10 Dec 2011 21:13:47 +0000 (+0000) Subject: build system: change "make dist" --exclude from CVS to .git X-Git-Tag: v0.1.18.1~8 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=secnet.git;a=commitdiff_plain;h=7a9fc59074a086ee34f4b80cafd028ae61b2f014 build system: change "make dist" --exclude from CVS to .git We maintain even the stable branch in git now, so we need to exclude the .git directory, not CVS. Leave the exclude of .cvsignore alone; actually the .gitignore is harmless in the release tarball. Signed-off-by: Ian Jackson --- diff --git a/Makefile.in b/Makefile.in index 0158a7c..2c21805 100644 --- a/Makefile.in +++ b/Makefile.in @@ -156,6 +156,6 @@ dist: for i in $(DISTDIRS) ; do mkdir $(pfname)/$$i ; done for i in $(DISTFILES) ; do ln -s ../$(srcdir)/$$i $(pfname)/ ; done for i in $(DISTSUBDIRS) ; do ln -s ../../$(srcdir)/$$i $(pfname)/$$i ; done - tar hcf ../$(pfname).tar --exclude=CVS --exclude=.cvsignore $(pfname) + tar hcf ../$(pfname).tar --exclude=.git --exclude=.cvsignore $(pfname) gzip -9f ../$(pfname).tar $(RM) -rf $(pfname)