rpmdist.mk: Remove everything below $(DIST_SRC_DIR) before starting to copy

This commit is contained in:
Jan Lindemann 2009-05-27 10:11:23 +00:00 committed by Jan Lindemann
commit 6131deb925

View file

@ -76,6 +76,7 @@ src-dir.dist:
touch $@
cpfiles.dist: src-dir.dist
rm -rf $(DIST_SRC_DIR)/*
$(cvs_files) | grep -v VERSION | cpio -o -H newc | ( cd $(DIST_SRC_DIR); cpio --make-directories -i)
sh $(MKSPEC_SH) -V $(RPM_VERSION) -S $(notdir $(PCKG_TAR)) -N $(RPM_PROJECT) \
-R "$(RPM_REQUIRES_RUN)" \