kumquat-buildroot/docs
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
..
css website: add Bootstrap and JQuery frameworks 2014-03-03 21:40:47 +01:00
images website: Add a Google+ presence 2014-03-28 22:48:01 +01:00
js website: remove remaining references to uclibc.org 2014-05-25 21:46:51 +02:00
manual gendoc infra: use $(pkgname) instead of explicitly passing 'manual' 2014-08-16 09:29:59 +02:00
about.html website: new website ! 2014-03-03 21:40:50 +01:00
contribute.html website: rework Contribute page to avoid duplication with manual 2014-05-25 21:45:02 +02:00
copyright.txt trivial: update buildroot e-mail address to buildroot@buildroot.org 2014-02-12 20:39:15 +01:00
docs.html website: remove remaining references to uclibc.org 2014-05-25 21:46:51 +02:00
download.html Update for 2014.08-rc1 2014-08-08 23:34:24 +02:00
favicon.ico docs: add favicon / robots.txt 2011-04-04 22:21:47 +02:00
footer.html website: new website ! 2014-03-03 21:40:50 +01:00
git.html website: new website ! 2014-03-03 21:40:50 +01:00
header.html website: add alt-tags to images 2014-05-25 21:51:57 +02:00
index.html website: add alt-tags to images 2014-05-25 21:51:57 +02:00
news.html Update for 2014.08-rc1 2014-08-08 23:34:24 +02:00
robots.txt docs: add favicon / robots.txt 2011-04-04 22:21:47 +02:00
sponsors.html website: new website ! 2014-03-03 21:40:50 +01:00
support.html website: fix typos and HTML on support page 2014-05-25 21:48:01 +02:00