X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile;h=4b9e35a7c432e465bdc0be57ec29b89b60395f49;hb=48807dec7d32f2ea828faf7a4bdb8b46d160123c;hp=2d6b52360da01300509df06dc7a325e548219dc5;hpb=66f41d107cbad885f626784c519f336e04764ef5;p=neurodebian.git 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