Add rules to install compiled markdown->html files.
authorMike Taylor <mike@indexdata.com>
Tue, 25 Mar 2014 17:25:41 +0000 (17:25 +0000)
committerMike Taylor <mike@indexdata.com>
Tue, 25 Mar 2014 17:25:41 +0000 (17:25 +0000)
doc/Makefile

index 171151b..36cf736 100644 (file)
@@ -4,6 +4,14 @@ DOCS = README.html README.odt README.pdf \
 # Default rule when "make" is invoked without a target
 **default**: README.html whitepaper.html
 
+INSTALLABLE = README.html whitepaper.html
+INSTALLED = $(INSTALLABLE:%=../tools/htdocs/%)
+
+install: $(INSTALLED)
+
+uninstall:
+       rm -f $(INSTALLED)
+
 all: $(DOCS)
 
 # For a description of pandoc's markdown format, see: