]> 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 5e08bda6c360df4884c3c68af12c2197bb27f14d..a97af0caf3450075307212f995e7e88f1beae1db 100644 (file)
@@ -27,7 +27,7 @@ vpath %.sgml $(SUBDIRS)
 $(DOC)/%.html: %.sgml
        echo Creating html for $< to $@
        -rm -rf $@
-       (HERE=`pwd`; cd $(@D) && debiandoc2html $$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 $@
-       debiandoc2text -O $< > $@
+       $(DEBIANDOC_TEXT) -O $< > $@ || exit 198
 
 # Clean rule
 .PHONY: veryclean/text/$(LOCAL)