From 33da2a8069537732643da035107e64d1feb7db52 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Sun, 8 May 2011 21:57:44 -0400 Subject: adding a note into the makefile, to find dblatex, if it is not present --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 945b56c..4bff12c 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ book.html: build.sh main.xml $(chapters) sh build.sh && \ ls -l $@ -book.pdf: main.xml $(chapters) +book.pdf: main.xml $(chapters) .dblatex dblatex \ --pdf \ -x'-xinclude' \ @@ -19,6 +19,9 @@ view.pdf: book.pdf view.html: book.html xdg-open $< +.dblatex: + which dblatex 2>/dev/null || echo "ERROR: 'dblatex' REQUIRED, SEE http://github.com/vbatts/SlackBuilds/ FOR THE SlackBuild" + .PHONY: clean clean: rm -f book.html book.pdf -- cgit v1.2.3