From: Yaroslav Halchenko Date: Mon, 26 Sep 2011 19:12:09 +0000 (-0400) Subject: Merge branch 'master' of git://git.debian.org/git/pkg-exppsy/neurodebian X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=605bf3616c98baa95feeb2149db9998108f7922c;hp=d388162f9f2ecbb0f0f99fabcde741606514e7d9;p=neurodebian.git Merge branch 'master' of git://git.debian.org/git/pkg-exppsy/neurodebian * 'master' of git://git.debian.org/git/pkg-exppsy/neurodebian: Sebastiaan gave green light for publication. --- diff --git a/Makefile b/Makefile index 2d6b523..4b9e35a 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ html: pics source clean: - -rm html-stamp source-stamp + -rm html-stamp source-stamp upload-website-stamp $(MAKE) -C artwork clean @@ -64,6 +64,12 @@ upload-website: html rsync -rvzlhp --delete \ --exclude=debian --exclude=debian-local --exclude=_files \ --chmod=Dg+s,g+rw $(WWW_DIR) $(WWW_UPLOAD_URI) + : # Touch stamp here so we get it updated on every upload + touch $@-stamp + +# call upload iff .git/index was modified, i.e. new changes got pulled in +upload-website-stamp: .git/index + $(MAKE) upload-website .PHONY: removedb removecache updatedb upload-website clean distclean pics html