aboutsummaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-10-31 14:30:13 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-11-01 19:58:08 +0100
commit302938d3671048ebc4fd397e4cf6f8f0beed0579 (patch)
tree74417cb21dafea6260d528fc70458b995423c105 /docs/Makefile
parent63313953c844f415301011d2ad1b75f0931a88b2 (diff)
downloadapp.sh-302938d3671048ebc4fd397e4cf6f8f0beed0579.tar.gz
app.sh-302938d3671048ebc4fd397e4cf6f8f0beed0579.tar.bz2
app.sh-302938d3671048ebc4fd397e4cf6f8f0beed0579.tar.xz
app.sh-302938d3671048ebc4fd397e4cf6f8f0beed0579.zip
o Supporting older versions of asciidoc.
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/Makefile b/docs/Makefile
index f340323..355f0bc 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -3,11 +3,16 @@ TXT=$(wildcard *.txt)
MAN=$(shell ls *.txt|xargs -n 1 head -n 1|sed "s,\(.*\)(\([0-9]\)),\1.\2,")
HTML=$(patsubst %.txt,%.html,$(TXT))
-all: $(HTML) $(MAN)
+all: html man
+
+html: $(HTML)
+man: $(MAN)
+
+.PHONY: html man
%.html: %.txt
@echo asciidoc $<
- @asciidoc -f asciidoc.conf --backend=html5 $<
+ @asciidoc -f asciidoc.conf --backend=xhtml11 -aappsh_version=0.2-dev $<
%.1: %.txt
$(call man,$<)