buildrootschalter/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 manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
adding-packages-conclusion.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
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 replace github with GitHub 2014-06-04 23:14:08 +02:00
adding-packages-gettext.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
adding-packages-hooks.txt infra: Add PRE_*_HOOKS for every step 2014-05-08 22:00:47 +02:00
adding-packages-kconfig.txt manual: add documentation for kconfig-package 2014-08-04 09:54:04 +02:00
adding-packages-luarocks.txt manual: make consistent references to package metadata information 2014-06-04 23:15:06 +02:00
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 replace github with GitHub 2014-06-04 23:14:08 +02:00
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 docs/manual: document how to use the cross debugger 2014-05-05 13:44:28 +02:00
appendix.txt docs/manual: add the virtual packages list 2014-06-08 17:11:47 +02:00
beyond-buildroot.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
ccache-support.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
common-usage.txt graphs/depends: do not draw transitive dependencies by default 2014-06-13 14:39:48 +02:00
configure.txt replace references to Busybox with BusyBox 2014-06-01 23:58:43 +02:00
contribute.txt docs/manual: add sob line for patch series 2014-07-29 20:23:58 +02:00
customize-busybox-config.txt replace references to Busybox with BusyBox 2014-06-01 23:58:43 +02:00
customize-kernel-config.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
customize-outside-br.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
customize-packages.txt manual: Fix BR2_GLOBAL_PATCH_DIR example 2014-05-29 23:21:15 +02:00
customize-rootfs.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
customize-store.txt replace references to Busybox with BusyBox 2014-06-01 23:58:43 +02:00
customize-toolchain.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
customize-uclibc-config.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
customize.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
debugging-buildroot.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
developer-guide.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
download-infra.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
download-location.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
eclipse-integration.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
faq-troubleshooting.txt manual: (faq-boot-hang-after-starting) fix config entries 2014-06-22 19:21:31 +02:00
get-involved.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
getting.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
going-further.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
how-buildroot-works.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
introduction.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
known-issues.txt toolchain: linker options with a $ sign are not supported 2014-07-31 23:51:39 +02:00
legal-notice.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
make-tips.txt manual: fix spelling mistakes 2014-06-01 17:28:05 +02:00
makedev-syntax.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
makeusers-syntax.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
manual.mk gendoc infra: use $(pkgname) instead of explicitly passing 'manual' 2014-08-16 09:29:59 +02:00
manual.txt manual: remove contributor list and add copyright 2014-05-29 00:03:49 +02:00
package-make-target.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
patch-policy.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
prerequisite.txt manual: add requirements for graph generation 2014-06-22 19:14:52 +02:00
rebuilding-packages.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
starting-up.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
using-buildroot-debugger.txt docs/manual: document how to use the cross debugger 2014-05-05 13:44:28 +02:00
using-buildroot-development.txt replace references to Busybox with BusyBox 2014-06-01 23:58:43 +02:00
using-buildroot-toolchain.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
using.txt replace references to Busybox with BusyBox 2014-06-01 23:58:43 +02:00
working-with.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00
writing-rules.txt manual: use one-line titles instead of two-line titles (trivial) 2014-05-02 10:27:59 +02:00