about summary refs log tree commit homepage
path: root/Documentation/include.mk
diff options
context:
space:
mode:
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)