make: Add support for make.mk

This commit is contained in:
Jan Lindemann 2002-07-02 10:12:06 +00:00 committed by Jan Lindemann
commit fbaa3fbd20
5 changed files with 22 additions and 3 deletions

View file

@ -39,7 +39,7 @@ rsync_ssh\://% ftp\://% scp\://%:
$(UPLOAD_SH) $(shell echo $(addprefix $(DIST_PCKG_DIR)/,$(notdir $@)) $@ | sed 's/:.*//g') $@
cpmod.dist:
for mod in $(REQUIRED); do \
for mod in $(SUBDIRS); do \
make -C $$mod distclean ;\
mkdir -p $(DIST_SRC_DIR)/$$mod ;\
tar -C $$mod \
@ -52,6 +52,7 @@ cpmod.dist:
--exclude='*.o' \
--exclude='*~' \
--exclude=xml-flat \
--exclude=contrib \
-cf - . | tar -C $(DIST_SRC_DIR)/$$mod -xf - ;\
done
touch $@