Commit d8533f52 authored by Xavier Bachelot's avatar Xavier Bachelot
Browse files

Introduce --with-cssdir and --with-picturesdir configure options.

parent f4442824
......@@ -61,6 +61,8 @@ if test "$fhs" = "yes"; then
execcgidir=$libdir/sympa/cgi
expldir=$localstatedir/lib/sympa/list_data
staticdir=$localstatedir/lib/sympa/static_content
cssdir=$localstatedir/lib/sympa/static_content/css
picturesdir=$localstatedir/lib/sympa/static_content/pictures
spooldir=$localstatedir/spool/sympa
arcdir=$localstatedir/lib/sympa/arc
bouncedir=$localstatedir/lib/sympa/bounce
......@@ -94,6 +96,8 @@ else
expldir=$prefix/list_data
spooldir=$prefix/spool
staticdir=$prefix/static_content
cssdir=$prefix/static_content/css
picturesdir=$prefix/static_content/pictures
arcdir=$prefix/arc
bouncedir=$prefix/bounce
confdir=/etc/sympa
......@@ -112,6 +116,8 @@ AC_SUBST(execcgidir)
AC_SUBST(expldir)
AC_SUBST(spooldir)
AC_SUBST(staticdir)
AC_SUBST(cssdir)
AC_SUBST(picturesdir)
AC_SUBST(arcdir)
AC_SUBST(bouncedir)
AC_SUBST(localedir)
......@@ -335,6 +341,24 @@ AC_ARG_WITH(
[staticdir="$withval"]
)
AC_ARG_WITH(
cssdir,
AS_HELP_STRING(
[--with-cssdir=DIR],
[generated css @<:@PREFIX/static_content/css@:>@]
),
[cssdir="$withval"]
)
AC_ARG_WITH(
picturesdir,
AS_HELP_STRING(
[--with-picturesdir=DIR],
[subscribers pictures @<:@PREFIX/static_content/pictures@:>@]
),
[picturesdir="$withval"]
)
CONFIG=$confdir/sympa.conf
AC_SUBST(CONFIG)
WWSCONFIG=$confdir/wwsympa.conf
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment