mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-26 04:36:33 +00:00
doc-asciidoc: add missing .PHONY declarations
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
6ab14ff209
commit
e016b79c4e
@ -1,5 +1,6 @@
|
|||||||
# we can't use suitable-host-package here because that's not available in
|
# we can't use suitable-host-package here because that's not available in
|
||||||
# the context of 'make release'
|
# the context of 'make release'
|
||||||
|
.PHONY: asciidoc-check-dependencies
|
||||||
asciidoc-check-dependencies:
|
asciidoc-check-dependencies:
|
||||||
$(Q)if [ -z "$(shell support/dependencies/check-host-asciidoc.sh)" ]; then \
|
$(Q)if [ -z "$(shell support/dependencies/check-host-asciidoc.sh)" ]; then \
|
||||||
echo "You need a sufficiently recent asciidoc on your host" \
|
echo "You need a sufficiently recent asciidoc on your host" \
|
||||||
@ -58,8 +59,9 @@ $(1): $(1)-$(5)
|
|||||||
.PHONY: $(1)-$(5)
|
.PHONY: $(1)-$(5)
|
||||||
$(1)-$(5): $$(O)/docs/$(1)/$(1).$(6)
|
$(1)-$(5): $$(O)/docs/$(1)/$(1).$(6)
|
||||||
|
|
||||||
# Single line, because splitting a foreach is not easy...
|
|
||||||
asciidoc-check-dependencies-$(5):
|
asciidoc-check-dependencies-$(5):
|
||||||
|
.PHONY: $(1)-check-dependencies-$(5)
|
||||||
|
# Single line, because splitting a foreach is not easy...
|
||||||
$(1)-check-dependencies-$(5): asciidoc-check-dependencies-$(5)
|
$(1)-check-dependencies-$(5): asciidoc-check-dependencies-$(5)
|
||||||
$$(Q)$$(foreach hook,$$($(2)_CHECK_DEPENDENCIES_$$(call UPPERCASE,$(5))_HOOKS),$$(call $$(hook))$$(sep))
|
$$(Q)$$(foreach hook,$$($(2)_CHECK_DEPENDENCIES_$$(call UPPERCASE,$(5))_HOOKS),$$(call $$(hook))$$(sep))
|
||||||
|
|
||||||
@ -141,6 +143,7 @@ endef
|
|||||||
################################################################################
|
################################################################################
|
||||||
define ASCIIDOC
|
define ASCIIDOC
|
||||||
# Single line, because splitting a foreach is not easy...
|
# Single line, because splitting a foreach is not easy...
|
||||||
|
.PHONY: $(1)-check-dependencies
|
||||||
$(1)-check-dependencies: asciidoc-check-dependencies $$($(2)_DEPENDENCIES)
|
$(1)-check-dependencies: asciidoc-check-dependencies $$($(2)_DEPENDENCIES)
|
||||||
$$(Q)$$(foreach hook,$$($(2)_CHECK_DEPENDENCIES_HOOKS),$$(call $$(hook))$$(sep))
|
$$(Q)$$(foreach hook,$$($(2)_CHECK_DEPENDENCIES_HOOKS),$$(call $$(hook))$$(sep))
|
||||||
|
|
||||||
@ -153,6 +156,7 @@ $$(BUILD_DIR)/docs/$(1)/.stamp_doc_rsynced:
|
|||||||
$$(Q)rsync -a $(3) $$(@D)
|
$$(Q)rsync -a $(3) $$(@D)
|
||||||
$$(Q)$$(foreach hook,$$($(2)_POST_RSYNC_HOOKS),$$(call $$(hook))$$(sep))
|
$$(Q)$$(foreach hook,$$($(2)_POST_RSYNC_HOOKS),$$(call $$(hook))$$(sep))
|
||||||
|
|
||||||
|
.PHONY: $(1)-prepare-sources
|
||||||
$(1)-prepare-sources: $$(BUILD_DIR)/docs/$(1)/.stamp_doc_rsynced
|
$(1)-prepare-sources: $$(BUILD_DIR)/docs/$(1)/.stamp_doc_rsynced
|
||||||
|
|
||||||
$(2)_ASCIIDOC_CONF = $(3)/asciidoc.conf
|
$(2)_ASCIIDOC_CONF = $(3)/asciidoc.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user