rpmdist.mk: Pack up only files in VCS

Fill up rpms based on CVS/Entries list. This way, a distclean is
unnecessary before packing up a tarball.
This commit is contained in:
Jan Lindemann 2007-08-24 20:26:27 +00:00 committed by Jan Lindemann
commit 8698a0b054

View file

@ -69,22 +69,8 @@ clean.rpm:
rm -rf $(DIST_DIR) *.dist
cpmod.dist:
for mod in $(SUBDIRS); do \
make -C $$mod distclean ;\
mkdir -p $(DIST_SRC_DIR)/$$mod ;\
tar -C $$mod \
--exclude=dist \
--exclude=pckg \
--exclude=Debug \
--exclude=CVS \
--exclude=old \
--exclude=v1.1 \
--exclude='*.o' \
--exclude='*~' \
--exclude=xml-flat \
--exclude=contrib \
-cf - . | tar -C $(DIST_SRC_DIR)/$$mod -xf - ;\
done
mkdir -p $(DIST_SRC_DIR)
$(cvs_files) | cpio -o -H newc | ( cd $(DIST_SRC_DIR); cpio --make-directories -i)
touch $@
cpfiles.dist: