X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile;h=01d1d1f5423c39c3db72062d67fdfbe3814f9778;hb=f7edcffd7db9d62fd176ee630ed83378f0531f53;hp=171151b7d89ae234f1dca1f460843bfbd76cc277;hpb=570ee9f0cbae7e74b310445a4dd6744d70c0051b;p=mkws-moved-to-github.git diff --git a/doc/Makefile b/doc/Makefile index 171151b..01d1d1f 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -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 ]" +