changeset 17:48caa69c609d

Exclude "." from tarballs
author Guido Berhoerster <guido+xwrited@berhoerster.name>
date Tue, 13 Sep 2016 20:59:33 +0200
parents f088694c1c32
children 4a5330979433
files Makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Aug 11 19:21:38 2015 +0200
+++ b/Makefile	Tue Sep 13 20:59:33 2016 +0200
@@ -170,6 +170,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))