1 ################################################################################
5 ################################################################################
7 MANUAL_SOURCES = $(sort $(wildcard docs/manual/*.txt) $(wildcard docs/images/*))
8 MANUAL_RESOURCES = $(TOPDIR)/docs/images
10 # Our manual needs to generate lists
11 define MANUAL_GEN_LISTS
12 $(Q)$(call MESSAGE,"Updating the manual lists...")
13 $(Q)$(COMMON_CONFIG_ENV) \
17 python -B $(TOPDIR)/support/scripts/gen-manual-lists.py
19 MANUAL_POST_RSYNC_HOOKS += MANUAL_GEN_LISTS
21 # Our list-generating script requires argparse
22 define MANUAL_CHECK_LISTS_DEPS
23 $(Q)if ! python -c "import argparse" >/dev/null 2>&1 ; then \
24 echo "You need python with argparse on your host to generate" \
25 "the list of packages in the manual"; \
29 MANUAL_CHECK_DEPENDENCIES_HOOKS += MANUAL_CHECK_LISTS_DEPS
31 $(eval $(call asciidoc-document))