comparison Makefile @ 18:7379cd513e6d

Exclude "." from tarballs
author Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
date Tue, 13 Sep 2016 19:57:08 +0200
parents 4df0dc4dcc3d
children 1421ea50aa5c
comparison
equal deleted inserted replaced
17:cb21006b64c7 18:7379cd513e6d
147 clobber: clean 147 clobber: clean
148 rm -f $(patsubst %.o,%.d,$(OBJS)) 148 rm -f $(patsubst %.o,%.d,$(OBJS))
149 149
150 dist: clobber 150 dist: clobber
151 $(PAX) -w -x ustar -s ',.*/\..*,,' -s ',./[^/]*\.tar\.gz,,' \ 151 $(PAX) -w -x ustar -s ',.*/\..*,,' -s ',./[^/]*\.tar\.gz,,' \
152 -s ',\./,$(DISTNAME)/,' . | $(GZIP) > $(DISTNAME).tar.gz 152 -s ',^\.$$,,' -s ',\./,$(DISTNAME)/,' . | \
153 $(GZIP) > $(DISTNAME).tar.gz
153 154
154 -include $(patsubst %.o,%.d,$(OBJS)) 155 -include $(patsubst %.o,%.d,$(OBJS))