aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-10-26 11:35:57 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2013-10-26 11:36:34 +0200
commit2474a9e50e5d21ed6b3fd825d9fe565b79f62014 (patch)
treea8faed6b79069c35a39983831f8f3089878545a2 /docs
parent22f0f794ac4e40866c5d390a7b27b8bd6713e681 (diff)
downloadapp.sh-2474a9e50e5d21ed6b3fd825d9fe565b79f62014.tar.gz
app.sh-2474a9e50e5d21ed6b3fd825d9fe565b79f62014.tar.bz2
app.sh-2474a9e50e5d21ed6b3fd825d9fe565b79f62014.tar.xz
app.sh-2474a9e50e5d21ed6b3fd825d9fe565b79f62014.zip
o Adding '-f [file]' option to app-conf set.
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile8
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)