]> granicus.if.org Git - sysstat/commitdiff
Added gitdist target in Makefile.in
authorSebastien Godard <sysstat@orange.fr>
Sat, 7 May 2011 06:29:38 +0000 (08:29 +0200)
committerSebastien Godard <sysstat@orange.fr>
Sat, 7 May 2011 06:29:38 +0000 (08:29 +0200)
gitdist target creates an archive file (tar.bz2) containing
the whole sysstat package, including the .git directory.

Makefile.in

index 304dd857b805450708ffa039773e53367a692727..b3f4048c7a5f537c8f80b3e4cc7eee040f52f42a 100644 (file)
@@ -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]