From 73ba9d9fcdfcf8b2bb379b09cf775c4aafb32f7d Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 9 Nov 2012 08:22:38 +0100 Subject: Makefile: Fix usage of non-portable Variable $> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2d982d4..d5f2097 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ document.txt: document.asciidoc - asciidoc --backend=latex $> + asciidoc --backend=latex $< -- cgit From 387b94aa018368652b1e074abf3e7ac2a6b99cee Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 9 Nov 2012 08:23:38 +0100 Subject: Makefile: asciidoc --latex generate a .tex not .txt --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d5f2097..c832195 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ -document.txt: document.asciidoc +document.tex: document.asciidoc asciidoc --backend=latex $< -- cgit From ed409e352330fa0015c423311963459a5992a385 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 9 Nov 2012 08:34:29 +0100 Subject: Makefile: Add rule to use a2x (which uses docbook) --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c832195..bdbe539 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,7 @@ +DBLATEX_OPTS="-P latex.encoding=utf8 -P latex.output.revhistory=0 -P doc.publisher.show=0" + document.tex: document.asciidoc asciidoc --backend=latex $< + +document.pdf: document.asciidoc + a2x -f pdf --dblatex-opts=$(DBLATEX_OPTS) $< -- cgit