From: Sebastien Godard Date: Sat, 7 May 2011 06:29:38 +0000 (+0200) Subject: Added gitdist target in Makefile.in X-Git-Tag: v10.0.1~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e42cb0e2aedb6a92bda114b70ca349d0cea374f;p=sysstat Added gitdist target in Makefile.in gitdist target creates an archive file (tar.bz2) containing the whole sysstat package, including the .git directory. --- diff --git a/Makefile.in b/Makefile.in index 304dd85..b3f4048 100644 --- a/Makefile.in +++ b/Makefile.in @@ -238,7 +238,7 @@ nls/sysstat.pot: $(wildcard *.c) # Phony targets .PHONY: clean distclean install install_base install_all uninstall \ - uninstall_base uninstall_all dist bdist + uninstall_base uninstall_all dist bdist gitdist install_man: man/sadc.8 man/sar.1 man/sadf.1 man/sa1.8 man/sa2.8 man/sysstat.5 ifeq ($(INSTALL_DOC),y) @@ -626,6 +626,9 @@ dist: almost-distclean bdist: almost-distclean cd .. && (tar --exclude=Makefile --exclude=.git -cvf - sysstat-$(VERSION) | bzip2 > sysstat-$(VERSION).tar.bz2) +gitdist: almost-distclean + cd .. && (tar --exclude=Makefile -cvf - sysstat-$(VERSION) | bzip2 > sysstat-$(VERSION)-git.tar.bz2) + tags: etags ./*.[hc]