From a8eee022c6dc2085d4e37e838ffb45404f77242b Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sat, 6 Nov 2010 23:34:00 +0100 Subject: Migrate documentation from DocBook to Asciidoc --- doc/Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'doc/Makefile') 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 "$<" -- cgit v1.2.3-1-g7c22