mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
projects-dir.mk: Add file
Signed-off-by: Jan Lindemann <jan@jannet.de>
This commit is contained in:
parent
211465e9e1
commit
24b75495db
1 changed files with 12 additions and 0 deletions
12
make/projects-dir.mk
Normal file
12
make/projects-dir.mk
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
all:
|
||||
for f in `cat projects.txt`; do make -C $$f || break; done
|
||||
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
|
||||
|
||||
push:
|
||||
@for d in `ls -d */.git | sed 's%/.git%%'`; do \
|
||||
(echo ============= $$d; cd $$d; git push origin master) ;\
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue