From: Thierry Parmentelat Date: Mon, 3 Dec 2012 11:24:52 +0000 (+0100) Subject: tweaks for make sync - not yet packaged X-Git-Tag: myslice-django-0.1-1~174 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=38682138ce752837456d0abbcc9b4b612448e11f tweaks for make sync - not yet packaged --- diff --git a/Makefile b/Makefile index 02d4ada7..71f47039 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,8 @@ RSYNC_COND_DRY_RUN := $(if $(findstring n,$(MAKEFLAGS)),--dry-run,) RSYNC := rsync -a -v $(RSYNC_COND_DRY_RUN) $(RSYNC_EXCLUDES) # xxx until we come up with a packaging this is going to be a wild guess -INSTALLED=/usr/share/myslice +#INSTALLED=/usr/share/myslice +INSTALLED=/root/myslice sync: ifeq (,$(MYSLICEBOX)) @@ -59,5 +60,5 @@ ifeq (,$(MYSLICEBOX)) @echo " $(MAKE) MYSLICEBOX=debian04.pl.sophia.inria.fr "$@"" @exit 1 else - @echo "$@" target not yet implemented; exit; @$(SSHCOMMAND) /etc/init.d/apache2 restart + @echo "$@" target not yet implemented - for an apache based depl it would read ...; exit; @$(SSHCOMMAND) /etc/init.d/apache2 restart endif