projects-dir.mk: Add targets check-conv and git-conv-%

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2015-06-12 19:43:39 +00:00
commit b2fc10b903

View file

@ -50,5 +50,18 @@ status:
$(PGIT) status
git-conv-%:
mv $* old/
sed -i "/$*/ d" CVS/Entries
[ -e $*/.git ] || { \
mv $* old/ ;\
if PROJECTS="$*" make clone; then \
sed -i "/^D\/$*\// d" CVS/Entries ;\
else \
mv old/$* . ;\
fi \
}
check-conv:
for p in `ssh git.jannet.de /opt/ytools/bin/git-srv-admin.sh -u jan -j list-personal-projects`; do \
make git-conv-$$p ;\
done