From: Florent Bruneau Date: Sun, 3 Oct 2010 08:56:24 +0000 (+0200) Subject: Add make up and make update (update the working copy). X-Git-Tag: xorg/1.0.1~117 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=8b944f3ea0aea70d4dd30a7fa3e7114d9f23f098;p=platal.git Add make up and make update (update the working copy). Signed-off-by: Florent Bruneau --- diff --git a/Makefile b/Makefile index 21b1134..1fa6d71 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,10 @@ q: %: %.in Makefile ChangeLog sed -e 's,@VERSION@,$(VERSION),g' $< > $@ +up: update +update: + @git fetch && git rebase `git symbolic-ref HEAD | sed -e 's~refs/heads/~origin/~'` && git submodule update + ################################################################################ # targets @@ -243,3 +247,4 @@ restart-listrpc: stop-listrpc start-listrpc .PHONY: wiki build-wiki .PHONY: banana banana-sub htdocs/images/banana htdocs/css/banana.css .PHONY: start-listrpc start-listrpc-fg stop-listrpc restart-listrpc +.PHONY: up update