diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-10-03 19:01:54 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-10-12 07:46:28 +0200 |
commit | 3d2a49f78f6e342973b9301fd97097b90464dd43 (patch) | |
tree | 7b620296f03de92491910d5459dda14b11a9922a /docs | |
parent | 13f5f02e98182a335fff9ed2b7dd53ca5c07b593 (diff) | |
download | buildroot-3d2a49f78f6e342973b9301fd97097b90464dd43.tar.gz buildroot-3d2a49f78f6e342973b9301fd97097b90464dd43.zip |
docs/asciidoc: make it possible to use $(@D) in hooks
Currently, it is not possible to use $(@D) in documents' hooks, because
there is no actual target file for the copying rule.
So, use the same mechanism as for generic-package.
We do not touch the target file, so it is easy to regenerate the manual
without calling the -clean rule first.
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>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manual/manual.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/manual/manual.mk b/docs/manual/manual.mk index a3011c699c..d5db2c26c9 100644 --- a/docs/manual/manual.mk +++ b/docs/manual/manual.mk @@ -12,7 +12,7 @@ MANUAL_RESOURCES = $(TOPDIR)/docs/images # should not be included in the manual. define MANUAL_GEN_LISTS $(Q)$(call MESSAGE,"Updating the manual lists...") - $(Q)BR2_DEFCONFIG="" TOPDIR=$(TOPDIR) O=$(BUILD_DIR)/docs/$(pkgname) \ + $(Q)BR2_DEFCONFIG="" TOPDIR=$(TOPDIR) O=$(@D) \ BR2_EXTERNAL=$(TOPDIR)/support/dummy-external \ python -B $(TOPDIR)/support/scripts/gen-manual-lists.py endef |