mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-16 04:23:31 +01:00
projects-dir.mk: Search for rgit in various paths
Signed-off-by: Jan Lindemann <jan@jannet.de>
This commit is contained in:
parent
77f6b1f48b
commit
17e796ba8c
1 changed files with 5 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
WHOAMI = $(shell id -un)
|
||||
RGIT = /bin/bash $(firstword $(wildcard ./ytools/devutil/scripts/pgit.sh /opt/ytools/bin/pgit.sh))
|
||||
|
||||
all:
|
||||
for f in `cat projects.txt`; do make -C $$f || break; done
|
||||
|
|
@ -6,7 +7,9 @@ clean:
|
|||
for f in `cat projects.txt | sed '/^ *#/ d'`; do make -C $$f clean || break; done
|
||||
|
||||
cpp:
|
||||
@find `cat projects.txt` -name '*.cpp' | grep /worker/ | grep -ve "old\|tmp\|nomake\|new" | while read f; do d=`dirname $$f`; if [ $$d/generate_code.sh ]; then echo $$f; fi; done
|
||||
@find `cat projects.txt` -name '*.cpp' | grep /worker/ | grep -ve "old\|tmp\|nomake\|new" | \
|
||||
while read f; do d=`dirname $$f`; if [ $$d/generate_code.sh ]; then echo $$f; fi ;\
|
||||
done
|
||||
|
||||
clone pull diff commit push:
|
||||
sh ./ytools/devutil/scripts/pgit.sh $@
|
||||
$(RGIT) $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue