.PHONY: html_$1
+ifeq "$$(phase)" ""
ifeq "$$(BUILD_DOCBOOK_HTML)" "YES"
$(call all-target,$1,html_$1)
INSTALL_HTML_DOC_DIRS += $1/$2
endif
+endif
html_$1 : $1/$2/index.html
.PHONY: ps_$1
+ifeq "$$(phase)" ""
ifeq "$$(BUILD_DOCBOOK_PS)" "YES"
$(call all-target,$1,ps_$1)
INSTALL_DOCS += $1/$2.ps
endif
+endif
ps_$1 : $1/$2.ps
[ -f $$@ ]
endif
+ifeq "$$(phase)" ""
ifeq "$$(BUILD_DOCBOOK_PDF)" "YES"
$(call all-target,$1,pdf_$1)
INSTALL_DOCS += $1/$2.pdf
endif
+endif
.PHONY: pdf_$1
pdf_$1 : $1/$2.pdf