From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, T_RP_MATCHES_RCVD,URIBL_BLOCKED shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 6197C1F8C3; Mon, 22 Dec 2014 01:50:47 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Cc: Eric Wong Subject: [PATCH 2/2] doc: generate README.html instead of index.html Date: Mon, 22 Dec 2014 01:50:42 +0000 Message-Id: <1419213042-3078-3-git-send-email-e@80x24.org> X-Mailer: git-send-email 2.2.0.35.g882592c In-Reply-To: <1419213042-3078-1-git-send-email-e@80x24.org> References: <1419213042-3078-1-git-send-email-e@80x24.org> List-Id: 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(-) diff --git a/Documentation/include.mk b/Documentation/include.mk index c852ce1..162bf54 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) -- EW