proj/Makefile: Some more attempts to structure the targets

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2016-09-18 13:44:50 +00:00
commit dcd09bf284

View file

@ -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)