diff Makefile @ 54:74da2bf0907b

Exclude "." from tarballs
author Guido Berhoerster <guido+pk-update-icon@berhoerster.name>
date Tue, 13 Sep 2016 16:26:37 +0200
parents 7de92a24e86c
children 017b0a4b6ec5
line wrap: on
line diff
--- a/Makefile	Sat Jul 25 17:25:00 2015 +0200
+++ b/Makefile	Tue Sep 13 16:26:37 2016 +0200
@@ -133,6 +133,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))