comparison Makefile @ 9:6cbf50148e87

Exclude "." from tarballs
author Guido Berhoerster <guido+rantaiwarna@berhoerster.name>
date Tue, 13 Sep 2016 16:27:32 +0200
parents 1d7143a612e1
children 4f6bf50dbc4a
comparison
equal deleted inserted replaced
8:0ec0edfcb752 9:6cbf50148e87
109 clobber: clean 109 clobber: clean
110 rm -f $(patsubst %.o,%.d,$(OBJS)) 110 rm -f $(patsubst %.o,%.d,$(OBJS))
111 111
112 dist: clobber 112 dist: clobber
113 $(PAX) -w -x ustar -s ',.*/\..*,,' -s ',./[^/]*\.tar\.gz,,' \ 113 $(PAX) -w -x ustar -s ',.*/\..*,,' -s ',./[^/]*\.tar\.gz,,' \
114 -s ',\./,$(DISTNAME)/,' . | $(GZIP) > $(DISTNAME).tar.gz 114 -s ',^\.$$,,' -s ',\./,$(DISTNAME)/,' . | \
115 $(GZIP) > $(DISTNAME).tar.gz
115 116
116 -include $(patsubst %.o,%.d,$(OBJS)) 117 -include $(patsubst %.o,%.d,$(OBJS))