X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile;h=ee67fbe168472a90170e71ef8f86db13fb7a65a2;hb=708e058580a0b9a06b0a30e228723826832ecfc2;hp=171151b7d89ae234f1dca1f460843bfbd76cc277;hpb=570ee9f0cbae7e74b310445a4dd6744d70c0051b;p=mkws-moved-to-github.git diff --git a/doc/Makefile b/doc/Makefile index 171151b..ee67fbe 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,8 +1,18 @@ DOCS = README.html README.odt README.pdf \ whitepaper.html whitepaper.odt whitepaper.pdf -# Default rule when "make" is invoked without a target -**default**: README.html whitepaper.html +INSTALLABLE = README.html whitepaper.html mkws-doc.css +INSTALLED = $(INSTALLABLE:%=../tools/htdocs/%) + +install: $(INSTALLED) + +uninstall: + rm -f $(INSTALLED) + +../tools/htdocs/%: % + rm -f $@ + cp -p $? $@ + chmod -w $@ all: $(DOCS)