GITREPOS :=\ org-mode\ emacswiki\ gnus\ bbdb\ w3\ apel\ semi\ flim\ wanderlust\ emacs-jabber\ doxymacs\ URL-org-mode := http://orgmode.org/org-mode.git URL-emacswiki := https://github.com/emacsmirror/emacswiki.org.git URL-gnus := http://git.gnus.org/gnus.git URL-bbdb := http://git.savannah.nongnu.org/r/bbdb.git URL-w3 := http://git.sv.gnu.org/r/w3.git URL-apel := http://github.com/wanderlust/apel.git URL-semi := http://github.com/wanderlust/semi.git URL-flim := http://github.com/wanderlust/flim.git URL-wanderlust := http://github.com/wanderlust/wanderlust.git URL-emacs-jabber := git://emacs-jabber.git.sourceforge.net/gitroot/emacs-jabber/emacs-jabber URL-doxymacs := git://doxymacs.git.sourceforge.net/gitroot/doxymacs/doxymacs SVNREPOS :=\ ess\ URL-ess := https://svn.r-project.org/ESS/trunk CVSREPOS :=\ auctex\ reftex\ URL-auctex := pserver:anonymous@cvs.savannah.gnu.org:/sources/auctex URL-reftex := pserver:anonymous@cvs.savannah.gnu.org:/sources/auctex BZRREPOS :=\ dvc\ URL-dvc := http://bzr.xsteve.at/dvc/ all: update VCS_MK := $(HOME)/Documents/mk/vcs.mk ifneq (,$(wildcard $(VCS_MK))) include $(VCS_MK) else $(error [ERROR] could not find '$(VCS_MK)') endif $(foreach d,$(HGREPOS),\ $(eval $(call HG_TMPL,$(d),$(URL-$(d))))) $(foreach d,$(GITREPOS),\ $(eval $(call GIT_TMPL,$(d),$(URL-$(d))))) $(foreach d,$(BZRREPOS),\ $(eval $(call BZR_TMPL,$(d),$(URL-$(d))))) $(foreach d,$(SVNREPOS),\ $(eval $(call SVN_TMPL,$(d),$(URL-$(d))))) $(foreach d,$(CVSREPOS),\ $(eval $(call CVS_TMPL,$(d),$(URL-$(d)))))