diff Makefile @ 9:4ecf1408f04f default tip

Exclude "." from tarballs
author Guido Berhoerster <guido+relmon@berhoerster.name>
date Tue, 13 Sep 2016 18:21:47 +0200
parents f28486666a4f
children
line wrap: on
line diff
--- a/Makefile	Fri Jan 23 11:05:36 2015 +0100
+++ b/Makefile	Tue Sep 13 18:21:47 2016 +0200
@@ -90,4 +90,5 @@
 
 dist: clobber
 	$(PAX) -w -x ustar -s ',.*/\..*,,' -s ',./[^/]*\.tar\.gz,,' \
-	    -s ',\./,$(DISTNAME)/,' . | $(GZIP) > $(DISTNAME).tar.gz
+	    -s ',^\.$$,,' -s ',\./,$(DISTNAME)/,' . | \
+	    $(GZIP) > $(DISTNAME).tar.gz