chiark / gitweb /
docs: for publication, etc.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 10 Mar 2019 23:30:36 +0000 (23:30 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 10 Mar 2019 23:30:36 +0000 (23:30 +0000)
.gitignore
Makefile
README

index 63356918d0453f288eeded21c2606ccb63e970aa..20ea94f4de1d53c8ca7e8c394dfef5bcec5bd27a 100644 (file)
@@ -13,3 +13,4 @@ layout-test-*.ps
 a4-test-*.ps
 *.tmp.[0-9]
 *.pdf
+html
index eb5bca9f74bbf8c3aa74b70306de771ef2ca193d..0641673ae88d973f2f9b470f3a0ee1ea15197e76 100644 (file)
--- 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 da939af45526066ba009ef1788ce181d71b66270..dea603f9b106702f86c3e3bec7082041d8ed29da 100644 (file)
--- 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.