From: Eric Wong Date: Mon, 22 Dec 2014 01:38:24 +0000 (+0000) Subject: doc: generate README.html instead of index.html X-Git-Tag: v1.0.0~1095 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=4f89debb03699637a210158d0d04d11f62fae830;p=public-inbox.git 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 --- 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)