diff options
author | Ian Lynagh <igloo@earth.li> | 2010-05-30 17:10:43 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-05-30 17:10:43 +0000 |
commit | facd71ba01bd40496fd7067b991502751a80bb27 (patch) | |
tree | e2d75ea12c3d1507d64526bd61b94ace35deddef | |
parent | 556b2bf7cdec832215a0b0843175548b07114a8a (diff) | |
download | haskell-facd71ba01bd40496fd7067b991502751a80bb27.tar.gz |
Check dblatex actually creates the files we tell it to
If it fails, it still exits successfully.
-rw-r--r-- | rules/docbook.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/docbook.mk b/rules/docbook.mk index cec0f2c449..ccc0fa47a7 100644 --- a/rules/docbook.mk +++ b/rules/docbook.mk @@ -56,6 +56,7 @@ ps_$1 : $1/$2.ps ifneq "$$(BINDIST)" "YES" $1/$2.ps: $$($1_DOCBOOK_SOURCES) "$$(DBLATEX)" $$(DBLATEX_OPTS) $1/$2.xml --ps -o $$@ + [ -f $$@ ] endif ifeq "$$(BUILD_DOCBOOK_PDF)" "YES" @@ -69,6 +70,7 @@ pdf_$1 : $1/$2.pdf ifneq "$$(BINDIST)" "YES" $1/$2.pdf: $$($1_DOCBOOK_SOURCES) "$$(DBLATEX)" $$(DBLATEX_OPTS) $1/$2.xml --pdf -o $$@ + [ -f $$@ ] endif endef |