about summary refs log tree commit homepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d7daceb..48d18bf 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@ install-strip: strip
         mv $@+ $@
 
 man1 := $(addsuffix .1,$(PCU_BIN))
-html := index.html $(addsuffix .html, $(man1))
+html := index.html INSTALL.html $(addsuffix .html, $(man1))
 html: $(html)
 man: $(man1)
 doc: html man
@@ -69,8 +69,11 @@ clean:
         $(RM) $(PCU_BIN) $(DISTNAME).tar.gz* GIT-VERSION-FILE
         $(RM) $(man1) $(html)
 
-index.html: title = $(shell sed -ne 1p < $<)
+INSTALL.html index.html: title = $(shell sed -ne 1p < $<)
+INSTALL.html: INSTALL
 index.html: README
+
+index.html INSTALL.html:
         $(pandoc_html) -T "$(title)" < $< > $@+
         mv $@+ $@