Use block-quoting for all TODO paragraphs.
[mkws-moved-to-github.git] / doc / Makefile
index 171151b..01d1d1f 100644 (file)
@@ -1,8 +1,21 @@
+# Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com
+
 DOCS = README.html README.odt README.pdf \
-       whitepaper.html whitepaper.odt whitepaper.pdf
+       whitepaper.html whitepaper.odt whitepaper.pdf \
+       library-configuration.html library-configuration.odt library-configuration.pdf
+
+INSTALLABLE = README.html whitepaper.html library-configuration.html mkws-doc.css
+INSTALLED = $(INSTALLABLE:%=../tools/htdocs/%)
+
+install: $(INSTALLED)
+
+uninstall:
+       rm -f $(INSTALLED)
 
-# Default rule when "make" is invoked without a target
-**default**: README.html whitepaper.html
+../tools/htdocs/%: %
+       rm -f $@
+       cp -p $? $@
+       chmod ugo-w $@
 
 all: $(DOCS)
 
@@ -33,3 +46,8 @@ all: $(DOCS)
 clean:
        rm -f $(DOCS)
 
+distclean: clean uninstall
+
+help:
+       @echo "make [ all | install | clean | distclean ]"
+