about summary refs log tree commit homepage
path: root/Documentation/include.mk
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-12-26 22:00:07 +0000
committerEric Wong <e@80x24.org>2015-12-26 23:00:24 +0000
commitc3b7fbcc56e889ae259c19e4bcd847be1fb97a01 (patch)
tree9f906cb8070634b2816196a30322f03c9d7b573d /Documentation/include.mk
parent57dbfc8fca52b4c986ad53f40301c7ff7a464f78 (diff)
downloadpublic-inbox-c3b7fbcc56e889ae259c19e4bcd847be1fb97a01.tar.gz
Shorter URLs are easier to read, remember, and more efficient.
Diffstat (limited to 'Documentation/include.mk')
-rw-r--r--Documentation/include.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/include.mk b/Documentation/include.mk
index 55bfc97a..43336c21 100644
--- a/Documentation/include.mk
+++ b/Documentation/include.mk
@@ -42,12 +42,14 @@ install-man: man
 txt2pre = ./Documentation/txt2pre < $< > $@+ && touch -r $< $@+ && mv $@+ $@
 txt := INSTALL README COPYING
 dtxt :=  design_notes.txt design_www.txt dc-dlvr-spam-flow.txt
-txt += $(addprefix Documentation/, $(dtxt))
+dtxt := $(addprefix Documentation/, $(dtxt))
 
+%.html: %.txt
+        $(txt2pre)
 %.html: %
         $(txt2pre)
 
-docs_html := $(addsuffix .html, $(txt))
+docs_html := $(addsuffix .html, $(subst .txt,,$(dtxt)) $(txt))
 html: $(docs_html)
 gz_docs := $(addsuffix .gz, $(docs) $(docs_html))
 rsync_docs := $(gz_docs) $(docs) $(txt) $(docs_html)