diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-03-28 14:43:21 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-04-19 11:01:33 +0200 |
commit | b0049629c86093ce898b4e80f362fb1387262b8b (patch) | |
tree | 5fff0728c4535912a8d3070e2ba14b3c4fbb6990 /Makefile | |
parent | 7aa46e79f2f4994ec94aa94d4a1129e10b6cbd4d (diff) | |
download | mupdf-b0049629c86093ce898b4e80f362fb1387262b8b.tar.xz |
Tweak manpages and add makefile rule to generate plain text versions.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 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 |