about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-09-18 20:18:45 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-09-18 20:18:45 +0000
commitc923fac88d28bf8ed6291db914d601cd3aba8476 (patch)
tree19d7b39d32712e49d8423e4fc5713efcaea2dcd8 /Makefile
parent2ebcbb1dfe0c80fed33b216adab1ac14d466a92d (diff)
downloadskalibs-c923fac88d28bf8ed6291db914d601cd3aba8476.tar.gz
skalibs-c923fac88d28bf8ed6291db914d601cd3aba8476.tar.xz
skalibs-c923fac88d28bf8ed6291db914d601cd3aba8476.zip
add git support to make tgz
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0f56c1c..5178906 100644
--- a/Makefile
+++ b/Makefile
@@ -61,9 +61,9 @@ distclean: clean
 tgz: distclean
 	@. package/info && \
         rm -rf /tmp/$$package-$$version && \
-        cp -a .  /tmp/$$package-$$version && \
+        cp -a . /tmp/$$package-$$version && \
         cd /tmp && \
-	tar -zpcv --owner=0 --group=0 --numeric-owner -f /tmp/$$package-$$version.tar.gz $$package-$$version && \
+	tar -zpcv --owner=0 --group=0 --numeric-owner --exclude=.git* -f /tmp/$$package-$$version.tar.gz $$package-$$version && \
 	exec rm -rf /tmp/$$package-$$version
 
 strip: $(ALL_LIBS)