From 34d25895bfc532cf461aa7daecf00766189ba981 Mon Sep 17 00:00:00 2001 From: Kai Tetzlaff Date: Tue, 24 Jul 2012 09:02:18 +0200 Subject: [PATCH] - converted subrepositories to nested repositories - ignore nested repositories - added Makefile for creating/updating nested repositories --- .hgignore | 63 ++++++++-------------------------------------------- Makefile | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+), 54 deletions(-) create mode 100644 Makefile diff --git a/.hgignore b/.hgignore index 458df65..f49bb81 100644 --- a/.hgignore +++ b/.hgignore @@ -31,13 +31,16 @@ syntax: glob .cvsignore .svnignore -tramp - -ProtBuf.el - -org-mode/doc/org - +org-mode/ +apel/ +flim/ +semi/ +wanderlust/ +bbdb/ gnus/ +ess/ +emacswiki/ +w3/ doxymacs/Makefile.in doxymacs/aclocal.m4 @@ -59,29 +62,9 @@ doxymacs/no-autoconf/Makefile doxymacs/no-autoconf/Makefile.in doxymacs/lisp/elc-stamp -org-mode/lisp/org-install.el -org-mode/doc/orgguide.html -org-mode/doc/orgguide.pdf -org-mode/doc/org.html -org-mode/doc/org.pdf -org-mode/doc/org_with_index.pdf -org-mode/doc/orgcard_letter.* -org-mode/doc/orgcard.pdf - emacs-jabber/build-aux/ emacs-jabber/autom4te.cache/ -ess/NEWS -ess/ONEWS -ess/doc/ess.pdf -ess/doc/readme.pdf -ess/doc/html/ - -apel.cvs/ -flim.cvs/ -semi.cvs/ -wanderlust.cvs/ - reftex/lisp/reftex.el reftex/doc/reftex.info reftex/doc/version.texi @@ -141,25 +124,6 @@ dvc/lisp/dvc-site.el dvc/texinfo/dvc-version.texinfo dvc/texinfo/dvc.info -w3/Makefile -w3/autom4te.cache/ -w3/confdefs.h -w3/config.cache -w3/config.status -w3/etc/Makefile -w3/texi/Makefile -w3/lisp/Makefile -w3/lisp/custom-load.el -w3/lisp/auto-autoloads.el -w3/lisp/cus-load.el -w3/lisp/w3-auto.el -w3/lisp/w3-cfg.el -w3/texi/w3.info -w3/texi/w3-faq.info - -wanderlust/doc/wl.info -wanderlust/wl/wl-news.el - # switch to regexp syntax. syntax: regexp @@ -177,18 +141,9 @@ server/ auto-save-list/ #lisp/[^0-9].*-([0-9.]+|git|snapshot|cvs) -cedet/.*-wy\.el -cedet/.*-by\.el -cedet/.*-loaddefs\.el -cedet/.*-script -cedet/.*\.info emacs-jabber/(configure|config.status|aclocal.m4|elc-stamp|jabber(-autoloads.el|-ourversion.el|\.info)) emacs-jabber/(.*/)?Makefile(\.in)? -org/.*\.(txt|html|tex|pdf) - -w3/texi\.*\.info - Copy[ ()0-9]*of.* Copy[ ()0-9]*of.*/ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d7d10bb --- /dev/null +++ b/Makefile @@ -0,0 +1,66 @@ +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))))) +