From 4f89debb03699637a210158d0d04d11f62fae830 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 22 Dec 2014 01:38:24 +0000 Subject: doc: generate README.html instead of index.html This allows us to generate links without caring about discoverability and remains reasonably WYSIWYG for folks editing our documentation in their favorite $EDITOR --- Documentation/include.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Documentation/include.mk') diff --git a/Documentation/include.mk b/Documentation/include.mk index c852ce1c..162bf543 100644 --- a/Documentation/include.mk +++ b/Documentation/include.mk @@ -42,12 +42,10 @@ install-man: man txt2pre = ./Documentation/txt2pre < $< > $@+ && touch -r $< $@+ && mv $@+ $@ txt = INSTALL README COPYING -INSTALL.html: INSTALL - $(txt2pre) -index.html: README +%.html: % $(txt2pre) -docs_html := INSTALL.html +docs_html := $(addsuffix .html, $(txt)) html: $(docs_html) gz_docs := $(addsuffix .gz, $(docs) $(docs_html)) rsync_docs := $(gz_docs) $(docs) $(txt) $(docs_html) -- cgit v1.2.3-24-ge0c7