summaryrefslogtreecommitdiff
path: root/buildlib/debiandoc.mak
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-09-17 15:06:38 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-09-17 15:06:38 +0200
commitcdf13dc287dcd4603152339364d894601e4a6c05 (patch)
tree819b63c085d1c5e2df506e1d09599949957647ae /buildlib/debiandoc.mak
parent3b3a681c79d3e5c32fcd6ccb87e74e5ca6e234b4 (diff)
parent9ef21af3d8325ef6889fdf9f015b497a71c9f845 (diff)
merged from lp:~donkult/apt/sid
Diffstat (limited to 'buildlib/debiandoc.mak')
-rw-r--r--buildlib/debiandoc.mak4
1 files changed, 2 insertions, 2 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)