From c04bb8f4e874fb9773382a2ea756f5cbacebf229 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 21 Mar 2016 21:57:28 -0300 Subject: [PATCH] Makefile (manps): new target to show man page as Postscript --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 067eadf..2dec9a8 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ endif # ----- Rules ----------------------------------------------------------------- .PHONY: all dep depend clean spotless -.PHONY: install uninstall manual upload-manual man +.PHONY: install uninstall manual upload-manual man manps .PHONY: montage test tests valgrind .SUFFIXES: .fig .xpm .ppm @@ -157,6 +157,9 @@ man: # less is for converting overstriking to bold groff -Tascii -mandoc fped.1 | less +manps: + groff -Tps -mandoc fped.1 | gv - + # ----- Debugging help -------------------------------------------------------- montage: