mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
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:
parent
b9a04e1e02
commit
8698a0b054
1 changed files with 2 additions and 16 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue