From: Mark Wooding Date: Sat, 8 Aug 2020 12:08:37 +0000 (+0100) Subject: Makefile (upload): Rebuild files before uploading them! X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/drwho/commitdiff_plain/74cb24881d623f3e0ac68cbd27123a309566f8b1 Makefile (upload): Rebuild files before uploading them! --- diff --git a/Makefile b/Makefile index 61dc051..32332b2 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,9 @@ all:: clean:: .PHONY: clean +FORCE: +.PHONY: FORCE + V = 0 v_tag = $(call v_tag_$V,$0) v_tag_0 = @printf " %-8s %s\n" "$1" "$@"; @@ -48,6 +51,6 @@ all:: drwho.pdf drwho.ps clean::; rm -f *.pdf *.dvi *.ps *.log *.aux -upload: +upload: $(UPLOAD) FORCE rsync -av $(UPLOAD) stratocaster:publish/public-html/ .PHONY: upload