about summary refs log tree commit homepage
path: root/Documentation/include.mk
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-04-20 00:20:04 +0000
committerEric Wong <e@80x24.org>2019-04-23 03:28:00 +0000
commit7f1cd9ea11db55e9de986a0b08132eb76143a9d1 (patch)
treef3e3b5e6723e79a93b383a2a911c5e4923954350 /Documentation/include.mk
parentd88d992927467a9d5bc2733cc01e3dda4c5de234 (diff)
downloadpublic-inbox-7f1cd9ea11db55e9de986a0b08132eb76143a9d1.tar.gz
Incomplete at the moment, but this ought to be a handy reference
for both implementers and users alike.
Diffstat (limited to 'Documentation/include.mk')
-rw-r--r--Documentation/include.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/include.mk b/Documentation/include.mk
index 28fa7574..02cbef30 100644
--- a/Documentation/include.mk
+++ b/Documentation/include.mk
@@ -81,8 +81,12 @@ txt2pre = $(PERL) -I lib ./Documentation/txt2pre <$< >$@+ && \
         touch -r $< $@+ && mv $@+ $@
 txt := INSTALL README COPYING TODO
 dtxt := design_notes.txt design_www.txt dc-dlvr-spam-flow.txt hosted.txt
+dtxt += standards.txt
 dtxt := $(addprefix Documentation/, $(dtxt)) $(mantxt)
 
+Documentation/standards.txt : Documentation/standards.perl
+        $(PERL) $< >$@+ && mv $@+ $@
+
 %.html: %.txt
         TITLE="$(basename $(<F))" $(txt2pre)
 %.html: %
@@ -91,7 +95,7 @@ dtxt := $(addprefix Documentation/, $(dtxt)) $(mantxt)
 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)
+rsync_docs := $(gz_docs) $(docs) $(txt) $(docs_html) $(dtxt)
 %.gz: %
         gzip -9 --rsyncable <$< >$@+
         touch -r $< $@+