From 969157bc8702fb307668386238c4a0edef43b4fd Mon Sep 17 00:00:00 2001
From: Kaz Kylheku <kaz@kylheku.com>
Date: Tue, 26 Apr 2016 06:20:13 -0700
Subject: Check man page for errors when generating PDF.

* Makefile (txr-manpage.pdf): Add -ww option
to pdfroff to report all errors, such as uses
of undefined macros.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index dae4438b..d9dea2f3 100644
--- a/Makefile
+++ b/Makefile
@@ -433,7 +433,7 @@ txr-manpage.html: txr.1 genman.txr
 	man2html $< | $(TXR) genman.txr - > $@
 
 txr-manpage.pdf: txr.1
-	tbl $< | pdfroff -man --no-toc - > $@
+	tbl $< | pdfroff -ww -man --no-toc - > $@
 
 #
 # Special targets used by ./configure
-- 
cgit v1.2.3