summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2011-05-08 21:57:44 -0400
committerVincent Batts <vbatts@hashbangbash.com>2011-05-08 21:57:44 -0400
commit33da2a8069537732643da035107e64d1feb7db52 (patch)
tree8a4e7d1dc9cb845dd750b83d4278695d7d407337
parentb58898aaad94ff3ec2d9d0f57d9e85a96c33147a (diff)
downloadslackbook-33da2a8069537732643da035107e64d1feb7db52.tar.xz
adding a note into the makefile, to find dblatex, if it is not present
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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