mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
proj/Makefile: Some more attempts to structure the targets
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
4be2beaf28
commit
dcd09bf284
1 changed files with 14 additions and 9 deletions
|
|
@ -76,15 +76,17 @@ cpp:
|
|||
while read f; do d=`dirname $$f`; if [ $$d/generate_code.sh ]; then echo $$f; fi ;\
|
||||
done
|
||||
|
||||
update pull: cvs-update
|
||||
$(PGIT) pull
|
||||
touch pull.done
|
||||
|
||||
status:
|
||||
for p in $(CVS_PROJECTS); do test -f $$d/CVS || echo $$p; done
|
||||
cvs status $(addsuffix VERSION,$(CVS_PROJECTS))
|
||||
$(PGIT) status
|
||||
|
||||
purge:
|
||||
$(PURGE_SH)
|
||||
|
||||
update pull: purge cvs-update git-pull
|
||||
touch pull.done
|
||||
|
||||
cvs-update:
|
||||
rm -f $@.done
|
||||
make $@.done
|
||||
|
|
@ -98,8 +100,11 @@ git-diff:
|
|||
git-pull:
|
||||
$(PGIT) pull
|
||||
|
||||
clone diff commit push:
|
||||
$(PGIT) $@
|
||||
git-clone:
|
||||
$(PGIT) clone
|
||||
|
||||
git-commit:
|
||||
$(PGIT) commit
|
||||
|
||||
git-conv-%:
|
||||
[ -e $*/.git ] || { \
|
||||
|
|
@ -144,12 +149,12 @@ cvs-update.done: cvsdir.done
|
|||
cvs update -dP $(CVS_PROJECTS)
|
||||
touch $@
|
||||
|
||||
pull.done: cvs-update.done clone.done links.done
|
||||
update.done: purge
|
||||
|
||||
pull.done: cvs-update.done config.done clone.done links.done
|
||||
touch $@
|
||||
|
||||
clone.done:
|
||||
$(PGIT) clone
|
||||
touch $@
|
||||
|
||||
purge:
|
||||
$(PURGE_SH)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue