From 6e42cb0e2aedb6a92bda114b70ca349d0cea374f Mon Sep 17 00:00:00 2001 From: Sebastien Godard Date: Sat, 7 May 2011 08:29:38 +0200 Subject: [PATCH] Added gitdist target in Makefile.in gitdist target creates an archive file (tar.bz2) containing the whole sysstat package, including the .git directory. --- Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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] -- 2.40.0