X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/4730bca19d5cb04c3c1af5fcf58f0493e705b228..ac62eb38b0bca7a45835903eb421c19f4f78aca3:/buildlib/debiandoc.mak?ds=sidebyside diff --git a/buildlib/debiandoc.mak b/buildlib/debiandoc.mak index f33474107..7e22467cf 100644 --- a/buildlib/debiandoc.mak +++ b/buildlib/debiandoc.mak @@ -14,20 +14,22 @@ LOCAL := debiandoc-$(firstword $(SOURCE)) $(LOCAL)-HTML := $(addsuffix .html,$(addprefix $(DOC)/,$(basename $(SOURCE)))) $(LOCAL)-TEXT := $(addsuffix .text,$(addprefix $(DOC)/,$(basename $(SOURCE)))) +debiandoc: + #--------- # Rules to build HTML documentations ifdef DEBIANDOC_HTML # Install generation hooks -doc: $($(LOCAL)-HTML) +debiandoc: $($(LOCAL)-HTML) veryclean: veryclean/html/$(LOCAL) 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) @@ -42,13 +44,13 @@ endif ifdef DEBIANDOC_TEXT # Install generation hooks -doc: $($(LOCAL)-TEXT) +debiandoc: $($(LOCAL)-TEXT) 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)