chiark / gitweb /
build system: change "make dist" --exclude from CVS to .git
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 10 Dec 2011 21:13:47 +0000 (21:13 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 10 Dec 2011 21:40:02 +0000 (21:40 +0000)
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 <ijackson@chiark.greenend.org.uk>
Makefile.in

index 0158a7c244eca6e02c02320ba257eb41eb79535a..2c21805cf536ffd56ff896454f25a121ddbc50e9 100644 (file)
@@ -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)