mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-18 04:53:57 +01:00
build.py: Add basic support for --debug argument
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
60c6d770b5
commit
93827e187b
2 changed files with 24 additions and 13 deletions
|
|
@ -45,7 +45,8 @@ ifeq ($(CVS_RSH),)
|
|||
export CVS_RSH
|
||||
endif
|
||||
|
||||
PGIT = CLONE_PROJECTS="$(PROJECTS)" PGIT_CLONE_FROM_USER="$(JANWARE_USER)" /bin/bash $(firstword $(wildcard ./ytools/devutil/scripts/pgit.sh /opt/ytools/bin/pgit.sh))
|
||||
PGIT = CLONE_PROJECTS="$(PROJECTS)" PGIT_CLONE_FROM_USER="$(JANWARE_USER)" /bin/bash $(firstword $(wildcard ./ytools/devutil/scripts/pgit.sh /opt/ytools/bin/pgit.sh))
|
||||
BUILD_PY = python ./ytools/devutil/scripts/build.py -b $(shell pwd) $(BUILD_PY_EXTRA_OPTS)
|
||||
|
||||
EXCLUDE_FROM_BUILD = \
|
||||
dspider-btools \
|
||||
|
|
@ -59,15 +60,15 @@ EXCLUDE_FROM_BUILD = \
|
|||
all: links.done clone.done cvs-update.done
|
||||
|
||||
all clean: config.done
|
||||
python ./ytools/devutil/scripts/build.py -b $(shell pwd) $@ $(filter-out $(EXCLUDE_FROM_BUILD),$(PROJECTS))
|
||||
$(BUILD_PY) $@ $(filter-out $(EXCLUDE_FROM_BUILD),$(PROJECTS))
|
||||
|
||||
pkg-%:
|
||||
python ./ytools/devutil/scripts/build.py -b $(shell pwd) $@ $(filter-out $(EXCLUDE_FROM_BUILD),$(PROJECTS))
|
||||
$(BUILD_PY) $@ $(filter-out $(EXCLUDE_FROM_BUILD),$(PROJECTS))
|
||||
|
||||
clean: done.clean
|
||||
|
||||
clean-dirs:
|
||||
ls */dirs-all.done 2>/dev/null | sed 's%/.*%%' | xargs -r build.py -b $(shell pwd) clean
|
||||
ls */dirs-all.done 2>/dev/null | sed 's%/.*%%' | xargs -r $(BUILD_PY) clean
|
||||
|
||||
cpp:
|
||||
@find $(PROJECTS) -name '*.cpp' | grep /worker/ | grep -ve "old\|tmp\|nomake\|new" | \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue