summaryrefslogtreecommitdiff
path: root/buildlib/debiandoc.mak
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-09-17 10:02:38 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-09-17 10:02:38 +0200
commitb6d189cab739eb23fc8d86c051b4081d52705ab0 (patch)
tree2a2f196404010de2126ca0842e15a7c61e2c11b6 /buildlib/debiandoc.mak
parent6422a70461fe89041d6112fed831b1c07cd45a3f (diff)
* buildlib/debiandoc.mak, buildlib/po4a_manpage.mak:
- ensure that the build fails if documentation building fails
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)