From 3d2a49f78f6e342973b9301fd97097b90464dd43 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Fri, 3 Oct 2014 19:01:54 +0200 Subject: 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" Cc: Samuel Martin Cc: Thomas De Schampheleire Reviewed-by: Samuel Martin Reviewed-by: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- docs/manual/manual.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/manual') 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 -- cgit v1.2.3