aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Lukyanchuk <skif@skif-web.ru>2020-03-04 10:21:02 +0300
committerPeter Korsgaard <peter@korsgaard.com>2020-03-15 11:39:26 +0100
commit822067294a9949fa79e5ff6c6d8d6a434ef4a7a0 (patch)
tree78f4ed9a9fa67938493fd02b559cf23b722d7bc5
parent4a4890bcead560d210a21dbe6f63c80f9bf371bc (diff)
downloadbuildroot-822067294a9949fa79e5ff6c6d8d6a434ef4a7a0.tar.bz2
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 07ea16bd9ef17ef53484e43d9b4eaf32c97cf5bc) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/cups/cups.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/cups/cups.mk b/package/cups/cups.mk
index 904a55f1e1..dd74a6cfc5 100644
--- a/package/cups/cups.mk
+++ b/package/cups/cups.mk
@@ -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