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 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
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue