mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-26 23:23:55 +01:00
projects-dir.mk: Add targets check-conv and git-conv-%
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
e49351a515
commit
b2fc10b903
1 changed files with 15 additions and 2 deletions
|
|
@ -50,5 +50,18 @@ status:
|
||||||
$(PGIT) status
|
$(PGIT) status
|
||||||
|
|
||||||
git-conv-%:
|
git-conv-%:
|
||||||
mv $* old/
|
[ -e $*/.git ] || { \
|
||||||
sed -i "/$*/ d" CVS/Entries
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue