comparison Makefile @ 17:48caa69c609d

Exclude "." from tarballs
author Guido Berhoerster <guido+xwrited@berhoerster.name>
date Tue, 13 Sep 2016 20:59:33 +0200
parents 129f316b99aa
children 4a5330979433
comparison
equal deleted inserted replaced
16:f088694c1c32 17:48caa69c609d
168 clobber: clean 168 clobber: clean
169 rm -f $(patsubst %.o,%.d,$(OBJS)) 169 rm -f $(patsubst %.o,%.d,$(OBJS))
170 170
171 dist: clobber 171 dist: clobber
172 $(PAX) -w -x ustar -s ',.*/\..*,,' -s ',./[^/]*\.tar\.gz,,' \ 172 $(PAX) -w -x ustar -s ',.*/\..*,,' -s ',./[^/]*\.tar\.gz,,' \
173 -s ',\./,$(DISTNAME)/,' . | $(GZIP) > $(DISTNAME).tar.gz 173 -s ',^\.$$,,' -s ',\./,$(DISTNAME)/,' . | \
174 $(GZIP) > $(DISTNAME).tar.gz
174 175
175 -include $(patsubst %.o,%.d,$(OBJS)) 176 -include $(patsubst %.o,%.d,$(OBJS))