Fix "make dist" not to include a recursive copy of the dist.
authorYann Dirson <ydirson@free.fr>
Tue, 5 Nov 2013 22:10:24 +0000 (23:10 +0100)
committerYann Dirson <ydirson@free.fr>
Tue, 5 Nov 2013 22:10:24 +0000 (23:10 +0100)
Makefile.in

index 7033add..7cc94d5 100644 (file)
@@ -98,7 +98,7 @@ dist:
        $(MAKE) maintainerclean
        rm -rf $(DISTNAME)
        mkdir $(DISTNAME)
-       tar -cf - --exclude .git $(ROOT) | (cd $(DISTNAME) && tar -xf -)
+       tar -cf - --exclude .git --exclude $(DISTNAME) $(ROOT) | (cd $(DISTNAME) && tar -xf -)
        cd $(DISTNAME) && $(ROOT)/autogen.sh && $(ROOT)/configure
        cd $(DISTNAME)/doc && $(MAKE) info
        cd $(DISTNAME) && make distclean