projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
556b2bf
)
Check dblatex actually creates the files we tell it to
author
Ian Lynagh
<igloo@earth.li>
Sun, 30 May 2010 17:10:43 +0000
(17:10 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sun, 30 May 2010 17:10:43 +0000
(17:10 +0000)
If it fails, it still exits successfully.
rules/docbook.mk
patch
|
blob
|
history
diff --git
a/rules/docbook.mk
b/rules/docbook.mk
index
cec0f2c
..
ccc0fa4
100644
(file)
--- 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