From 056c38abacd4493f268c89047220970c412e11d7 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 25 Mar 2014 17:28:10 +0000 Subject: [PATCH] Add actual file-copying rule. Remove old **make-default** target, now that "install" is default. --- doc/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 36cf736..89787b5 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,9 +1,6 @@ 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 INSTALLED = $(INSTALLABLE:%=../tools/htdocs/%) @@ -12,6 +9,11 @@ install: $(INSTALLED) uninstall: rm -f $(INSTALLED) +../tools/htdocs/%: % + rm -f $@ + cp -p $? $@ + chmod -w $@ + all: $(DOCS) # For a description of pandoc's markdown format, see: -- 1.7.10.4