rpmdist.mk: Next try on exclude pattern

This commit is contained in:
Jan Lindemann 2004-11-29 23:27:26 +00:00 committed by Jan Lindemann
commit 51597b9f9e

View file

@ -86,7 +86,7 @@ cpfiles.dist:
%.tar.gz: cpfiles.dist cpmod.dist
mkdir -p $(DIST_PCKG_DIR)
tar -czvf $@ -C $(dir $(DIST_SRC_DIR)) $(notdir $(DIST_SRC_DIR)) \
$(addprefix --exclude=,$(basename $(shell find . -name *.in | sed 's%\./%%')))
$(addprefix --exclude=,"$(basename $(shell find . -name *.in | sed 's%\./%*%'))")
%.src.rpm: %.tar.gz
rpm -ts $<