summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 64b28af..93d8180 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -27,15 +27,10 @@ clean:
rm -f $(MAN_PAGES)
rm -f $(HTML_PAGES)
-%.html: %.xml
+%.html: %.txt
@echo HTML $@
- @xmlto html-nochunks $<
+ a2x --conf-file=asciidoc.conf --attribute="laymanversion=1.4.1" --format=xhtml "$<"
-%: %.xml
+%: %.txt
@echo MAN $@
- @xmlto man $<
-#
-# fix up the blank lines that docbook leaves behind
-#
- @cat $@ | sed -e 's/$$/.fred/g;' | tr -d '\n' | sed -e 's/.fred.fred\./.fred./g;' | sed -e 's/.fred/\n/g;' > $(TMPFILE)
- @mv $(TMPFILE) $@
+ a2x --conf-file=asciidoc.conf --attribute="laymanversion=1.4.1" --format=manpage "$<"