comparison 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
comparison
equal deleted inserted replaced
53:7de92a24e86c 54:74da2bf0907b
131 clobber: clean 131 clobber: clean
132 rm -f $(patsubst %.o,%.d,$(OBJS)) 132 rm -f $(patsubst %.o,%.d,$(OBJS))
133 133
134 dist: clobber 134 dist: clobber
135 $(PAX) -w -x ustar -s ',.*/\..*,,' -s ',./[^/]*\.tar\.gz,,' \ 135 $(PAX) -w -x ustar -s ',.*/\..*,,' -s ',./[^/]*\.tar\.gz,,' \
136 -s ',\./,$(DISTNAME)/,' . | $(GZIP) > $(DISTNAME).tar.gz 136 -s ',^\.$$,,' -s ',\./,$(DISTNAME)/,' . | \
137 $(GZIP) > $(DISTNAME).tar.gz
137 138
138 -include $(patsubst %.o,%.d,$(OBJS)) 139 -include $(patsubst %.o,%.d,$(OBJS))