summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-10-14 14:49:47 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-10-14 14:49:47 +0200
commit58d0598ad6f1c514bf7d89fdea676a697f0d9388 (patch)
treeeade3a15056c5dd70ac0da1953186065c7441c7b /buildlib
parent2c53e7d1a82e2bfe44151ac9d1ac2043fca09efa (diff)
parent44dc669e08353716da835608ea54563b4c8c32bb (diff)
merged from the debian-sid branch
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/debiandoc.mak4
-rw-r--r--buildlib/po4a_manpage.mak2
2 files changed, 3 insertions, 3 deletions
diff --git a/buildlib/debiandoc.mak b/buildlib/debiandoc.mak
index f33474107..a97af0caf 100644
--- a/buildlib/debiandoc.mak
+++ b/buildlib/debiandoc.mak
@@ -27,7 +27,7 @@ vpath %.sgml $(SUBDIRS)
$(DOC)/%.html: %.sgml
echo Creating html for $< to $@
-rm -rf $@
- (HERE=`pwd`; cd $(@D) && $(DEBIANDOC_HTML) $(DEBIANDOC_HTML_OPTIONS) $$HERE/$<)
+ (HERE=`pwd`; cd $(@D) && $(DEBIANDOC_HTML) $(DEBIANDOC_HTML_OPTIONS) $$HERE/$<) || exit 199
# Clean rule
.PHONY: veryclean/html/$(LOCAL)
@@ -48,7 +48,7 @@ veryclean: veryclean/text/$(LOCAL)
vpath %.sgml $(SUBDIRS)
$(DOC)/%.text: %.sgml
echo Creating text for $< to $@
- $(DEBIANDOC_TEXT) -O $< > $@
+ $(DEBIANDOC_TEXT) -O $< > $@ || exit 198
# Clean rule
.PHONY: veryclean/text/$(LOCAL)
diff --git a/buildlib/po4a_manpage.mak b/buildlib/po4a_manpage.mak
index 6eec9d031..11dc11d28 100644
--- a/buildlib/po4a_manpage.mak
+++ b/buildlib/po4a_manpage.mak
@@ -27,7 +27,7 @@ veryclean: veryclean/$(LOCAL)
$($(LOCAL)-LIST) :: % : %.xml $(INCLUDES)
echo Creating man page $@
- $(XSLTPROC) -o $@ $(STYLESHEET) $< # why xsltproc doesn't respect the -o flag here???
+ $(XSLTPROC) -o $@ $(STYLESHEET) $< || exit 200 # why xsltproc doesn't respect the -o flag here???
test -f $(subst .$(LC),,$@) || echo FIXME: xsltproc respect the -o flag now, workaround can be removed
mv -f $(subst .$(LC),,$@) $@