From patchwork Tue Mar 5 21:35:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/6] manual: add a make target 'manual-update-lists' Date: Tue, 05 Mar 2013 11:35:29 -0000 From: Samuel Martin X-Patchwork-Id: 225182 Message-Id: <020ca3cb681ac17a9b2cf83adf3d65044a0cbf99.1362518799.git.s.martin49@gmail.com> To: buildroot@busybox.net Signed-off-by: Samuel Martin --- Changes since v2: * remove PYTHONPATH stuff since the kconfiglib module is next to gen-manual-lists.py (Arnout) 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(-) diff --git a/docs/manual/manual.mk b/docs/manual/manual.mk index aa20534..012d0e7 100644 --- a/docs/manual/manual.mk +++ b/docs/manual/manual.mk @@ -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="" 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)) +