Add rule to copy CSS into destination area.
authorMike Taylor <mike@indexdata.com>
Wed, 15 Oct 2014 12:23:40 +0000 (13:23 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 15 Oct 2014 12:23:40 +0000 (13:23 +0100)
doc/Makefile

index c224fa0..f65d44a 100644 (file)
@@ -5,12 +5,18 @@
 
 DOCS = index.html index.pdf \
        mkws-manual.html mkws-manual.pdf \
-       mkws-developer.html mkws-developer.pdf
+       mkws-developer.html mkws-developer.pdf \
+       mkws-doc.css
 
 INSTALLED = $(DOCS:%=../tools/htdocs/%)
 
 all: $(INSTALLED)
 
+../tools/htdocs/%: %
+       rm -f $@
+       cp $< $@
+       chmod ugo-w $@
+
 # For a description of pandoc's markdown format, see:
 # http://johnmacfarlane.net/pandoc/demo/example9/pandocs-markdown.html