From d5a7fc98e8ab0290bb70a823e749423b396a9479 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 8 Aug 2020 13:07:49 +0100 Subject: [PATCH] Makefile: Make a list of files to be uploaded. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a7519ff..61dc051 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,9 @@ V = 0 v_tag = $(call v_tag_$V,$0) v_tag_0 = @printf " %-8s %s\n" "$1" "$@"; +UPLOAD += drwho.org + +UPLOAD += drwho.pdf drwho.ps %.pdf: %.tex $(call v_tag,PDFLATEX)pdflatex $< @@ -46,6 +49,5 @@ all:: drwho.pdf drwho.ps clean::; rm -f *.pdf *.dvi *.ps *.log *.aux upload: - rsync -av drwho.tex drwho.org drwho.pdf \ - stratocaster:publish/public-html/ + rsync -av $(UPLOAD) stratocaster:publish/public-html/ .PHONY: upload -- 2.11.0