diff options
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | apps/man/mudraw.1 | 2 | ||||
-rw-r--r-- | apps/man/mupdf.1 | 2 |
3 files changed, 12 insertions, 2 deletions
@@ -146,6 +146,16 @@ $(MUPDF) : $(addprefix $(OUT)/, x11_main.o x11_image.o pdfapp.o) $(LINK_CMD) $(X11_LIBS) endif +# --- Format man pages --- + +%.txt: %.1 + nroff -man $< | col -b | expand > $@ + +MAN_FILES := $(wildcard apps/man/*.1) +TXT_FILES := $(MAN_FILES:%.1=%.txt) + +catman: $(TXT_FILES) + # --- Install --- prefix ?= /usr/local diff --git a/apps/man/mudraw.1 b/apps/man/mudraw.1 index e51f56ef..41bee152 100644 --- a/apps/man/mudraw.1 +++ b/apps/man/mudraw.1 @@ -1,4 +1,4 @@ -.TH PDFDRAW 1 "March 16, 2012" +.TH MUDRAW 1 "March 28, 2012" .\" Please adjust this date whenever revising the manpage. .SH NAME mudraw \- render PDF/XPS/CBZ documents diff --git a/apps/man/mupdf.1 b/apps/man/mupdf.1 index 7a21e7f4..fc8e9640 100644 --- a/apps/man/mupdf.1 +++ b/apps/man/mupdf.1 @@ -37,7 +37,7 @@ Scroll page left, down, up, or right. .B \+, \- Zoom in or out. .TP -.B \W, \H +.B W, H Zoom so page exactly fits width or height of window. .TP .B w |