diff options
Diffstat (limited to 'docs/Makefile')
-rw-r--r-- | docs/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/Makefile b/docs/Makefile index f9ae4ea..c62e70c 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,9 +1,13 @@ TXT=$(wildcard *.txt) HTML=$(patsubst %.txt,%.html,$(TXT)) -all: $(HTML) +MAN=$(patsubst %.txt,%.1,$(TXT)) +all: $(HTML) $(MAN) %.html: %.txt asciidoc -a data-uri -a icons -a toc -a max-width=55em $< +%.1: %.txt + a2x --doctype manpage --format manpage $< + clean: - rm -rf $(wildcard *.html) + rm -rf $(wildcard *.html) $(wildcard *.1) |