]> Sergey Matveev's repositories - public-inbox.git/blobdiff - Documentation/include.mk
replace references to lynx
[public-inbox.git] / Documentation / include.mk
index d62128f23e131b1c59cea6c8469be751dea6c1e8..162bf54338bf68c72a3cda01553a714f1cbf8f48 100644 (file)
@@ -4,7 +4,7 @@ all::
 
 RSYNC = rsync
 RSYNC_DEST = public-inbox.org:/srv/public-inbox/
-docs := README COPYING INSTALL $(shell git ls-files 'Documentation/*.txt')
+docs := README COPYING INSTALL TODO $(shell git ls-files 'Documentation/*.txt')
 INSTALL = install
 PANDOC = pandoc
 PANDOC_OPTS = -f markdown --email-obfuscation=none
@@ -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)