diff options
| author | herbelin | 2006-09-29 13:52:40 +0000 |
|---|---|---|
| committer | herbelin | 2006-09-29 13:52:40 +0000 |
| commit | 6281399f8a71a66d93461f6501372174f1508362 (patch) | |
| tree | 529c5d044ba9f443089e14ecb9bdd43518be4292 /dev/tools/Makefile.common | |
| parent | 8746bc44bbfa32a0d8b06eeb61f0a12765c2f747 (diff) | |
Reactivation des outils de developpement de Jacek
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9190 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'dev/tools/Makefile.common')
| -rw-r--r-- | dev/tools/Makefile.common | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/dev/tools/Makefile.common b/dev/tools/Makefile.common index 1ff5cf799e..e69de29bb2 100644 --- a/dev/tools/Makefile.common +++ b/dev/tools/Makefile.common @@ -1,52 +0,0 @@ -# this Makefile contains goals common for directory and main devel makefiles - -ifndef TOPDIR -TOPDIR=.. -endif - -ifndef BASEDIR -BASEDIR= -endif - -# the following entries are used to make synchronize two source trees -# (on big computer and on a laptop for example) - -OTHER_FILE=$(TOPDIR)/dev/other -OTHER=$(shell cat $(OTHER_FILE)) - -# this is a directory of useful temporary things -WORKDIR=tmp - -ifneq (,$(findstring n,$(MAKEFLAGS))) -NFLAG=-n -else -NFLAG= -endif - -check_other: - +@(if [ "$(OTHER)" = "" ] ; then \ - echo You must put the ssh path to the other Coq source in $(OTHER_FILE) ; \ - echo For example: chrzaszc@ruta:coq/V7 ; \ - exit 1; \ - fi) - -get: check_other - +rsync -Cauvz $(NFLAG) $(OTHER)/ $(TOPDIR)/ - +@(if [ -d $(TOPDIR)/$(WORKDIR) ]; then \ - rsync -auvz $(NFLAG) $(OTHER)/tmp/ $(TOPDIR)/tmp/ ; \ - fi) - -put: check_other - +rsync -Cauvz $(NFLAG) $(TOPDIR)/ $(OTHER)/ - +@(if [ -d $(TOPDIR)/$(WORKDIR) ]; then \ - rsync -auvz $(NFLAG) $(TOPDIR)/tmp/ $(OTHER)/tmp/ ; \ - fi) - -sync: get put - - -conflicts: - cvs status | grep File | grep conflicts | less - -confl: conflicts - |
