X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/c5bb61fd5a77c5743deb95a1fe0b3a48b10be405..62f1ee1cc7a5e16ca0cbfbee3c00cefab1892f87:/buildlib/debiandoc.mak 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)