comparison 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
comparison
equal deleted inserted replaced
10:8e9dd5328b5a 11:27bc2d4947da
112 clobber: clean 112 clobber: clean
113 rm -f $(patsubst %.o,%.d,$(OBJS)) 113 rm -f $(patsubst %.o,%.d,$(OBJS))
114 114
115 dist: clobber 115 dist: clobber
116 $(PAX) -w -x ustar -s ',.*/\..*,,' -s ',./[^/]*\.tar\.gz,,' \ 116 $(PAX) -w -x ustar -s ',.*/\..*,,' -s ',./[^/]*\.tar\.gz,,' \
117 -s ',\./,$(DISTNAME)/,' . | $(GZIP) > $(DISTNAME).tar.gz 117 -s ',^\.$$,,' -s ',\./,$(DISTNAME)/,' . | \
118 $(GZIP) > $(DISTNAME).tar.gz
118 119
119 -include $(patsubst %.o,%.d,$(OBJS)) 120 -include $(patsubst %.o,%.d,$(OBJS))