summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-09-22 06:57:47 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-09-22 06:57:47 -0700
commite116ae623f8949e9b35b8a02cce2241b7df560a9 (patch)
tree510c95a9a299735c77353c1351d4da06d9cd3594
parent9e88b4a87ca064e232e4ea7c2c6940ba49a69236 (diff)
downloadtxr-e116ae623f8949e9b35b8a02cce2241b7df560a9.tar.gz
txr-e116ae623f8949e9b35b8a02cce2241b7df560a9.tar.bz2
txr-e116ae623f8949e9b35b8a02cce2241b7df560a9.zip
* Makefile (txr-manpage.pdf): New target.
-rw-r--r--ChangeLog4
-rw-r--r--Makefile3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fc940d6a..ed0e07a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-22 Kaz Kylheku <kaz@kylheku.com>
+
+ * Makefile (txr-manpage.pdf): New target.
+
2014-09-10 Kaz Kylheku <kaz@kylheku.com>
* lib.c (compat_fixup): void return changed to int.
diff --git a/Makefile b/Makefile
index aea6cf97..c3a63a3c 100644
--- a/Makefile
+++ b/Makefile
@@ -206,6 +206,9 @@ install-tests:
txr-manpage.html: txr.1 genman.txr
man2html $< | ./$(PROG) genman.txr - > $@
+txr-manpage.pdf: txr.1
+ tbl $< | pdfroff -man --no-toc - > $@
+
config.make config.h:
@echo "$@ missing: you didn't run ./configure"
@exit 1