kumquat-buildroot/docs/manual
Thomas De Schampheleire dd935d6771 gendoc infra: use $(pkgname) instead of explicitly passing 'manual'
In the gendoc infrastructure, using an assignment of the form
    FOO = docs/$(1)/bar
inside GENDOC_INNER does not work as expected: the $(1) value is empty here
and the value of FOO becomes 'docs//bar'.

Parameters $(2), $(3), etc. do not have this problem. The specific thing
about $(1) is that it is a parameter to GENDOC itself (indicating the
document to create) and passed transparently to GENDOC_INNER.

This is different from the package infrastructures, where $(1) is set from
$(pkgname). In fact, the same strategy could be used by the gendoc
infrastructure as well, as $(pkgname) resolves to 'manual' for file
docs/manual/manual.mk. This has the advantage that the described problem
does not occur.

Note that this means that if we want to use the same GENDOC infrastructure
for another document, it will have to reside in a separate directory than
the manual.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-08-16 09:29:59 +02:00
..
adding-packages-autotools.txt pkg-autotools: add support for <pkg>_AUTORECONF_ENV 2014-07-23 23:49:10 +02:00
adding-packages-cmake.txt
adding-packages-conclusion.txt
adding-packages-directory.txt docs/manual: enhance doc for BR2_TOOLCHAIN_HEADERS_AT_LEAST_X_Y 2014-07-27 15:06:44 +02:00
adding-packages-generic.txt
adding-packages-gettext.txt
adding-packages-hooks.txt
adding-packages-kconfig.txt manual: add documentation for kconfig-package 2014-08-04 09:54:04 +02:00
adding-packages-luarocks.txt
adding-packages-perl.txt manual/adding-packages-perl.txt: remove the trailing slash sign from description of PERL_SITE variable 2014-07-31 23:17:07 +02:00
adding-packages-python.txt manual: fix copy/paste error in python package example 2014-08-06 19:51:27 +02:00
adding-packages-tips.txt
adding-packages-virtual.txt docs/manual: add the virtual packages list 2014-06-08 17:11:47 +02:00
adding-packages.txt manual: add documentation for kconfig-package 2014-08-04 09:54:04 +02:00
advanced.txt
appendix.txt docs/manual: add the virtual packages list 2014-06-08 17:11:47 +02:00
beyond-buildroot.txt
ccache-support.txt
common-usage.txt graphs/depends: do not draw transitive dependencies by default 2014-06-13 14:39:48 +02:00
configure.txt
contribute.txt docs/manual: add sob line for patch series 2014-07-29 20:23:58 +02:00
customize-busybox-config.txt
customize-kernel-config.txt
customize-outside-br.txt
customize-packages.txt
customize-rootfs.txt
customize-store.txt
customize-toolchain.txt
customize-uclibc-config.txt
customize.txt
debugging-buildroot.txt
developer-guide.txt
download-infra.txt
download-location.txt
eclipse-integration.txt
faq-troubleshooting.txt manual: (faq-boot-hang-after-starting) fix config entries 2014-06-22 19:21:31 +02:00
get-involved.txt
getting.txt
going-further.txt
how-buildroot-works.txt
introduction.txt
known-issues.txt toolchain: linker options with a $ sign are not supported 2014-07-31 23:51:39 +02:00
legal-notice.txt
make-tips.txt
makedev-syntax.txt
makeusers-syntax.txt
manual.mk gendoc infra: use $(pkgname) instead of explicitly passing 'manual' 2014-08-16 09:29:59 +02:00
manual.txt
package-make-target.txt
patch-policy.txt
prerequisite.txt manual: add requirements for graph generation 2014-06-22 19:14:52 +02:00
rebuilding-packages.txt
starting-up.txt
using-buildroot-debugger.txt
using-buildroot-development.txt
using-buildroot-toolchain.txt
using.txt
working-with.txt
writing-rules.txt