aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-10-03 19:01:42 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-10-12 07:46:27 +0200
commit4cf14e177f85abc20f07bd2873408f9c2bd68ea7 (patch)
tree9a8e7ccafdd2816bb82884fb1d540ec15bdb5c0c /docs
parent991f13be1e429a8c46df31e06be42b640fa5bc30 (diff)
downloadbuildroot-4cf14e177f85abc20f07bd2873408f9c2bd68ea7.tar.gz
buildroot-4cf14e177f85abc20f07bd2873408f9c2bd68ea7.tar.bz2
docs/manual: move manual-prepare-sources rule into GENDOC
Copying the document's source files is a generic GENDOC action, that will be common to all documents, so the dependency rule should be handled in GENDOC, rather than letting all documents duplicate it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Samuel Martin <s.martin49@gmail.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/manual/manual.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/manual/manual.mk b/docs/manual/manual.mk
index 3b79716aab..c40f371c61 100644
--- a/docs/manual/manual.mk
+++ b/docs/manual/manual.mk
@@ -7,7 +7,7 @@ manual-update-lists: manual-check-dependencies-lists $(BUILD_DIR)/docs/$(pkgname
BR2_EXTERNAL=$(TOPDIR)/support/dummy-external \
python -B $(TOPDIR)/support/scripts/gen-manual-lists.py
-manual-prepare-sources: manual-rsync manual-update-lists
+manual-prepare-sources: manual-update-lists
# we can't use suitable-host-package here because that's not available in
# the context of 'make release'
@@ -127,6 +127,8 @@ $(pkgname)-rsync: $$(BUILD_DIR)/docs/$(pkgname)
$$(Q)$$(call MESSAGE,"Preparing the $(pkgname) sources...")
$$(Q)rsync -a docs/$(pkgname)/ $$^
+$(pkgname)-prepare-sources: $(pkgname)-rsync
+
$(call GENDOC_INNER,$(pkgname),xhtml,html,html,HTML,\
--xsltproc-opts "--stringparam toc.section.depth 1")
$(call GENDOC_INNER,$(pkgname),chunked,split-html,chunked,split HTML,\