diff options
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 |