mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-22 22:20:39 +01:00
make: Add support for make.mk
This commit is contained in:
parent
3a525481d3
commit
fbaa3fbd20
5 changed files with 22 additions and 3 deletions
|
|
@ -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 $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue