22 lines
689 B
Diff
22 lines
689 B
Diff
--- config-scripts/cups-directories.m4
|
|
+++ config-scripts/cups-directories.m4.orig
|
|
@@ -166,15 +166,15 @@ AS_IF([test "x$menudir" = x], [
|
|
AC_SUBST([MENUDIR])
|
|
|
|
# Documentation files
|
|
-AC_ARG_WITH([docdir], AS_HELP_STRING([--with-docdir], [set path for documentation]), [
|
|
+AC_ARG_WITH([docdir], AS_HELP_STRING([--with-docdir], [set path and DocumentRoot directive for web content, default=datadir/cups/webcontent]), [
|
|
docdir="$withval"
|
|
], [
|
|
docdir=""
|
|
])
|
|
|
|
AS_IF([test x$docdir = x], [
|
|
- CUPS_DOCROOT="$datadir/doc/cups"
|
|
- docdir="$datadir/doc/cups"
|
|
+ CUPS_DOCROOT="$datadir/cups/webcontent"
|
|
+ docdir="$datadir/cups/webcontent"
|
|
], [
|
|
CUPS_DOCROOT="$docdir"
|
|
])
|