diff Makefile @ 11:27bc2d4947da

Exclude "." from tarballs
author Guido Berhoerster <guido+sencrypt@berhoerster.name>
date Tue, 13 Sep 2016 18:24:21 +0200
parents 112d55c825b4
children 14e58decdf87
line wrap: on
line diff
--- a/Makefile	Sat Sep 03 14:02:42 2016 +0200
+++ b/Makefile	Tue Sep 13 18:24:21 2016 +0200
@@ -114,6 +114,7 @@
 
 dist: clobber
 	$(PAX) -w -x ustar -s ',.*/\..*,,' -s ',./[^/]*\.tar\.gz,,' \
-	    -s ',\./,$(DISTNAME)/,' . | $(GZIP) > $(DISTNAME).tar.gz
+	    -s ',^\.$$,,' -s ',\./,$(DISTNAME)/,' . | \
+	    $(GZIP) > $(DISTNAME).tar.gz
 
 -include $(patsubst %.o,%.d,$(OBJS))