X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Finclude.mk;h=43336c210dca72bba839f9710458ebc0c62668de;hb=c3b7fbcc56e889ae259c19e4bcd847be1fb97a01;hp=55bfc97a784e0ae83ce705275ee02f3edcccfb94;hpb=57dbfc8fca52b4c986ad53f40301c7ff7a464f78;p=public-inbox.git 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)