X-Git-Url: https://git.distorted.org.uk/~mdw/drwho/blobdiff_plain/d5a7fc98e8ab0290bb70a823e749423b396a9479..HEAD:/Makefile diff --git a/Makefile b/Makefile index 61dc051..f28b548 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,4 @@ ### -*-makefile-*- - -### -*- mode: latex; TeX-PDF-mode: t -*- ### ### Copyright (c) 2020 Mark Wooding ### @@ -27,8 +25,11 @@ all:: clean:: .PHONY: clean +FORCE: +.PHONY: FORCE + V = 0 -v_tag = $(call v_tag_$V,$0) +v_tag = $(call v_tag_$V,$1) v_tag_0 = @printf " %-8s %s\n" "$1" "$@"; UPLOAD += drwho.org @@ -36,18 +37,14 @@ UPLOAD += drwho.org UPLOAD += drwho.pdf drwho.ps %.pdf: %.tex $(call v_tag,PDFLATEX)pdflatex $< - %.dvi: %.tex $(call v_tag,LATEX)latex $< - %.ps: %.dvi $(call v_tag,DVIPS)dvips $< .PRECIOUS: %.dvi - 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