diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-05-26 17:22:08 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-05-26 17:22:08 +0000 |
commit | 4ca2d5ebdd1a221e9e0f9449785aacbdf27086b8 (patch) | |
tree | e08bf47580a1dc0abff9a2fc222317720be934a1 /doc/ThornGuide | |
parent | 889a52657daa2daaf46a1dac1338aa30edd514de (diff) |
Create ThornGuide.pdf from ThornGuide.dvi by running dvipdf on it.
This fixes problems with embedded images which are available only as EPS
and thus couldn't be processed by pdflatex.
This closes PR Documentation/1937: "make ThornGuide.pdf fails".
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4062 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/ThornGuide')
-rw-r--r-- | doc/ThornGuide/Makefile | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/doc/ThornGuide/Makefile b/doc/ThornGuide/Makefile index 19a8f142..ab7dc677 100644 --- a/doc/ThornGuide/Makefile +++ b/doc/ThornGuide/Makefile @@ -67,21 +67,12 @@ $(MASTER_FILE).dvi: $(MASTER_FILE).tex echo " Cannot find $@, an error must have occured."; \ fi -$(MASTER_FILE).pdf: $(MASTER_FILE).tex - @echo " Running pdflatex on $<...." - -pdflatex $< < /dev/null 2>&1 > LOG_PDFLATEX_MSGS - -pdflatex $< < /dev/null 2>&1 > LOG_PDFLATEX_MSGS - -pdflatex $< < /dev/null 2>&1 | grep -v Underfull | grep -v Overfull | grep -v OT1 > LOG_PDFLATEX_MSGS - if test -e "$@"; then \ - if grep "^\! " "LOG_PDFLATEX_MSGS"; then \ - echo " Problem in $<. See doc/ThornGuide/build/LOG_PDFLATEX_MSGS ."; \ - exit 1; \ - elif grep "^LaTeX Warning:" "LOG_LATEX_FULL_MSGS"; then \ - echo " Warnings in $<. See doc/ThornGuide/build/LOG_LATEX_* ."; \ - exit 0; \ - fi; \ - else \ - echo " Cannot find $@, an error must have occured."; \ +$(MASTER_FILE).pdf: $(MASTER_FILE).dvi + @echo " Running dvipdf on $<...." + -dvipdf $< < /dev/null 2>&1 > LOG_DVIPDF_MSGS + if test ! -e "$@"; then \ + echo " Problem in $<. See doc/ThornGuide/build/LOG_DVIPDF_MSGS."; \ + exit 1; \ fi $(MASTER_FILE).tex: $(foreach thorn, $(THORN_DEPENDENCIES), $(thorn)/param.ccl $(thorn)/interface.ccl $(thorn)/schedule.ccl) $(THORNLIST) |