summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2016-09-15 11:28:49 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2016-09-15 11:28:49 -0400
commitb747baecc575c0bcd63de181148aca4b10514e58 (patch)
treec2f24da2d96ba9b856b3f648fb363a7e4bf91013
parent0704dc8757b1de9c59d8be87456cf12cc8242bab (diff)
downloadmakefile_templates-b747baecc575c0bcd63de181148aca4b10514e58.tar.gz
makefile_templates-b747baecc575c0bcd63de181148aca4b10514e58.zip
check for no use of bibtex in pdf compilation
-rw-r--r--tex.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex.mk b/tex.mk
index 5dfc7dc..1c6ec1c 100644
--- a/tex.mk
+++ b/tex.mk
@@ -31,7 +31,7 @@ ifndef USE_PDF_LATEX
rubber -f -d $<
else
pdflatex $<
- bibtex $(<:%.tex=%)
+ bibtex $(<:%.tex=%) || ( if [ "$?" eq "2" ]; then echo "looks like not citations were used"; fi )
pdflatex $<
pdflatex $<
endif