]> git.saurik.com Git - apt.git/blobdiff - buildlib/debiandoc.mak
Added code to allow SmartConfigure to be called mutiple times on the same package...
[apt.git] / buildlib / debiandoc.mak
index f33474107e71723d386006f3ffeb3ce97013c604..a97af0caf3450075307212f995e7e88f1beae1db 100644 (file)
@@ -27,7 +27,7 @@ vpath %.sgml $(SUBDIRS)
 $(DOC)/%.html: %.sgml
        echo Creating html for $< to $@
        -rm -rf $@
 $(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)
 
 # 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 $@
 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)
 
 # Clean rule
 .PHONY: veryclean/text/$(LOCAL)