LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File cups-1.4.3-default-webcontent-path.patch of Package cups154 (Project home:mgoppold:printing)

--- config-scripts/cups-directories.m4.orig	2009-04-13 01:04:51.000000000 +0200
+++ config-scripts/cups-directories.m4	2010-05-06 11:34:04.000000000 +0200
@@ -323,11 +323,11 @@ fi
 AC_SUBST(MENUDIR)
 
 # Documentation files
-AC_ARG_WITH(docdir, [  --with-docdir           set path for documentation],docdir="$withval",docdir="")
+AC_ARG_WITH(docdir, [  --with-docdir           set path and DocumentRoot directive for web content, default=datadir/cups/webcontent],docdir="$withval",docdir="")
 
 if test x$docdir = x; then
-	CUPS_DOCROOT="$datadir/doc/cups"
-	docdir="$datadir/doc/cups"
+	CUPS_DOCROOT="$datadir/cups/webcontent"
+	docdir="$datadir/cups/webcontent"
 else
 	CUPS_DOCROOT="$docdir"
 fi