summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Hicks <alan@lizella.net>2011-05-18 11:05:17 -0400
committerAlan Hicks <alan@lizella.net>2011-05-18 11:05:17 -0400
commitd108f3f0e7450eeb406f4f8947fbf39f99d6fe3b (patch)
tree5d3651428725c23b617222ed034fb66749bd016c
parent2f2a11560e87bf43a494cecdb0b952ec01ccd78d (diff)
parent51f0e5076a9809cee7449291afa0756f4958c2bf (diff)
downloadslackbook-d108f3f0e7450eeb406f4f8947fbf39f99d6fe3b.tar.xz
Merge branch 'master' of rlworkman.net:slackbook
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 945b56c..86f6bda 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,10 @@ view.pdf: book.pdf
view.html: book.html
xdg-open $<
+.dblatex:
+ $(shell 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