From: Ian Jackson Date: Sun, 10 Mar 2019 23:30:36 +0000 (+0000) Subject: docs: for publication, etc. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?p=pandemic-rising-tide.git;a=commitdiff_plain;h=43e7e32dca6af23053f4858aa848f279a06add0e docs: for publication, etc. --- diff --git a/.gitignore b/.gitignore index 6335691..20ea94f 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ layout-test-*.ps a4-test-*.ps *.tmp.[0-9] *.pdf +html diff --git a/Makefile b/Makefile index eb5bca9..0641673 100644 --- a/Makefile +++ b/Makefile @@ -94,8 +94,11 @@ BOARDFILES= \ all: all-ps all-pdf -all-ps: $(addsuffix .ps, $(BOARDFILES)) -all-pdf: $(addsuffix .pdf, $(BOARDFILES)) +PSS=$(addsuffix .ps, $(BOARDFILES)) +PDFS=$(addsuffix .pdf, $(BOARDFILES)) + +all-ps: $(PSS) +all-pdf: $(PDFS) %.pdf: %.ps Makefile $(PS2PDF) $(PS2PDF_FLAGS) $< $@.tmp && $i @@ -105,6 +108,15 @@ cmyk.pdf: PS2PDF_FLAGS += -dAutoRotatePages=/None map.plag: generate-plag input-graph Parse.pm ./$< input-graph $o +www=ianmdlvl@chiark:public-html/pandemic-rising-tide + +html: $(PDFS) README + rm -rf $@ $@.tmp; mkdir $@.tmp + cp $^ $@.tmp/ && $i + +to-www: html + rsync -aH --delete html/. $(www)/. + # create opt.plag.reuse to shortcut this opt.plag: maybe-rerun-optim map.plag $(USE_PLAG_RELEASE) Makefile ./$(filter-out Makefile, $^) $@ .opt.plag.sums \ diff --git a/README b/README index da939af..dea603f 100644 --- a/README +++ b/README @@ -40,8 +40,12 @@ sizes, read this and feel free to send me patches. -[1] Dependencies ------------------ +[1] Source code and dependencies +-------------------------------- + +Source code is here: + https://www.chiark.greenend.org.uk/ucgi/~ian/git/pandemic-rising-tide.git/ + git://git.chiark.greenend.org.uk/~ian/pandemic-rising-tide.git You will, notably, need a working copy of plag-mangler, which is a planar graph manipulation and layout program I wrote for this project.