@@ -24,6 +24,11 @@ $$(O)/docs/$(1)/$(1).$(4): docs/$(1)/$(1).txt $$($(call UPPERCASE,$(1))_SOURCES)
-D $$(@D) $$<
endef
+manual-update-lists:
+ @$(call MESSAGE,"Updating the manual lists...")
+ $(Q)BR2_DEFCONFIG="" PYTHONPATH=$(TOPDIR)/support/pym TOPDIR=$(TOPDIR) \
+ $(TOPDIR)/support/scripts/gen-manual-lists.py
+
################################################################################
# GENDOC -- generates the make targets needed to build asciidoc documentation.
#
@@ -41,8 +46,9 @@ $(call GENDOC_INNER,$(1),epub,epub,epub,EPUB)
clean: $(1)-clean
$(1)-clean:
$(Q)$(RM) -rf $(O)/docs/$(1)
-.PHONY: $(1) $(1)-clean
+.PHONY: $(1) $(1)-clean manual-update-lists
endef
MANUAL_SOURCES = $(wildcard docs/manual/*.txt) $(wildcard docs/images/*)
$(eval $(call GENDOC,manual))
+
Signed-off-by: Samuel Martin <s.martin49@gmail.com> --- Changes since v1: * add manual-update-lists target to the .PHONY one (Arnout) * misc. fixes/updates --- docs/manual/manual.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)