changeset 9:6cbf50148e87

Exclude "." from tarballs
author Guido Berhoerster <guido+rantaiwarna@berhoerster.name>
date Tue, 13 Sep 2016 16:27:32 +0200
parents 0ec0edfcb752
children 4f6bf50dbc4a
files Makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Jan 23 11:08:04 2015 +0100
+++ b/Makefile	Tue Sep 13 16:27:32 2016 +0200
@@ -111,6 +111,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))