Just use git clone to update the subtrees from git repositories.

Pascal J. Bourguignon [2016-08-20 19:39]
Just use git clone to update the subtrees from git repositories.
Filename
Makefile
com.informatimago.www/Makefile
diff --git a/Makefile b/Makefile
index 7d34bb9..54ecd08 100644
--- a/Makefile
+++ b/Makefile
@@ -13,17 +13,11 @@ help::
 	@echo 'make update-all      # git pull subdirectories and update.'
 update-all:update-git update

-git-pull:
-	-mkdir -p com.informatimago.www/develop/emacs/
-	-mkdir -p com.informatimago.www/develop/lisp/com/
-	-cd com.informatimago.www/develop/emacs/    ; git clone ssh://pjb@git.informatimago.com/srv/git/public/emacs emacs
-	-cd com.informatimago.www/develop/lisp/com/ ; git clone ssh://pjb@git.informatimago.com/srv/git/public/lisp  informatimago
-	-cd com.informatimago.www/develop/lisp/     ; git clone ssh://pjb@git.informatimago.com/srv/git/public/l99   l99
-
-update-git:
-	cd com.informatimago.www/develop/emacs/emacs/              ; git pull --all
-	cd com.informatimago.www/develop/lisp/com/informatimago/   ; git pull --all
-	cd com.informatimago.www/develop/lisp/l99/                 ; git pull --all
+git-update:
+	make -C com.informatimago.www git-clone
+
+git-pull:   git-update
+update-git: git-update

 SMALL_CL_PGMS=com.informatimago.www/develop/lisp/com/informatimago/small-cl-pgms

diff --git a/com.informatimago.www/Makefile b/com.informatimago.www/Makefile
index b9efd02..ab7bdd2 100644
--- a/com.informatimago.www/Makefile
+++ b/com.informatimago.www/Makefile
@@ -86,11 +86,10 @@ help::
 	@echo 'make git-show        # shows git remotes.'
 git-clone:
 	-mkdir -p develop/lisp/com develop/emacs
-	-rm -rf develop/emacs/emacs develop/lisp/com/informatimago develop/lisp/l99
+	-rm -rf develop/emacs/emacs develop/lisp/com/informatimago develop/lisp/l99
 	git clone git@gitlab.com:com-informatimago/emacs.git                develop/emacs/emacs
 	git clone git@gitlab.com:com-informatimago/com-informatimago.git    develop/lisp/com/informatimago
-	git clone ssh://pjb@git.informatimago.com/srv/git/public/l99        develop/lisp/l99
-#	git clone git://git.informatimago.com/public/lisp                   develop/lisp/com/informatimago
+	git clone git@gitlab.com:common-lisp-exercises/l99.git              develop/lisp/l99
 git-pull:
 	cd develop/lisp/com/informatimago ; git pull
 	cd develop/lisp/l99               ; git pull
ViewGit