summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2010-01-15 21:23:52 -0800
committerKaz Kylheku <kaz@kylheku.com>2010-01-15 21:23:52 -0800
commit7c119e002015dffd2d625c2ebb694cea41c97901 (patch)
treef5f18c9ca714ddb2ec50b2ba30c12185083af65d /Makefile
parentb067244c5c421192213af424a5d645f2bad7ee62 (diff)
downloadtxr-7c119e002015dffd2d625c2ebb694cea41c97901.tar.gz
txr-7c119e002015dffd2d625c2ebb694cea41c97901.tar.bz2
txr-7c119e002015dffd2d625c2ebb694cea41c97901.zip
Automate the maintenance of the HTML-ized man page.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5713e0c1..1aabe1a2 100644
--- a/Makefile
+++ b/Makefile
@@ -133,6 +133,12 @@ install-tests:
> run.sh
$(call INSTALL,0755,run.sh,$(DESTDIR)$(datadir)/tests)
+#
+# Generate web page from man page
+#
+txr-manpage.html: txr.1 genman.txr
+ man2html $< | $(PROG) genman.txr - > $@
+
config.make config.h:
@echo "$@ missing: you didn't run ./configure"
@exit 1