package/cups: store web-interface files under /usr/share/cups/doc-root

The web-interface files (~1.8MB) are by default installed under
/usr/share/doc/cups, which is unfortunate as Buildroot removes usr/share/doc
in target-finalize, breaking the webui.

As a fix, store the web-interface files under /usr/share/cups/doc-root,
similar to how it is done in Debian.

Signed-off-by: Alexey Lukyanchuk <skif@skif-web.ru>
[Peter: use --with-docdir, update description]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 07ea16bd9e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Alexey Lukyanchuk 2020-03-04 10:21:02 +03:00 committed by Peter Korsgaard
parent 4a4890bcea
commit 822067294a

View File

@ -23,6 +23,7 @@ CUPS_CONF_OPTS = \
--without-perl \
--without-java \
--without-php \
--with-docdir=/usr/share/cups/doc-root \
--disable-gssapi \
--disable-pam \
--libdir=/usr/lib