summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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