diff options
author | Michael Elkins <melkins@tislabs.com> | 2010-07-08 16:22:31 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2010-07-08 16:22:31 +0000 |
commit | 5272332c6f1ae1b4cb526e98facdd73dcf0b4e38 (patch) | |
tree | aedceaaae4b0d6ea84d8a2568e47c70de6aa0370 /portal-gui/configure.ac | |
parent | d3e7b08893cdbb90676b58b1b88ec4b2129534f3 (diff) |
make configure output additional info about installation paths for debugging
automatically set the proper paths in django.wsgi
use $INSTDIR for referring to installed portal-gui sources
svn path=/portal-gui/Makefile.in; revision=3365
Diffstat (limited to 'portal-gui/configure.ac')
-rw-r--r-- | portal-gui/configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/portal-gui/configure.ac b/portal-gui/configure.ac index fc5cb103..b09c5799 100644 --- a/portal-gui/configure.ac +++ b/portal-gui/configure.ac @@ -17,6 +17,7 @@ AS_IF([test "x$with_python" = "xdetect"], [PYTHON=$with_python]) AS_IF([test "x$PYTHON" = "xnone"], [AC_MSG_ERROR([unable to find python interpreter, use --with-python])]) +AC_MSG_RESULT([Using python interpreter at $PYTHON]) AS_IF([test "x$with_myrpki" = "xno"], [AC_MSG_ERROR([must specify the --with-myrpki option])]) @@ -35,6 +36,8 @@ fi eval 'exp_datarootdir='$datarootdir AC_SUBST(MEDIADIR, "$exp_datarootdir/$PACKAGE_NAME/media") AC_SUBST(TEMPLATEDIR, "$exp_datarootdir/$PACKAGE_NAME/rpkigui/templates") +AC_SUBST(INSTDIR, "$exp_datarootdir/$PACKAGE_NAME") +AC_MSG_RESULT([installing portal-gui into $INSTDIR]) if test "x$DATABASE_PATH" = x; then eval 'exp_localstatedir='$localstatedir @@ -53,7 +56,7 @@ AC_SUBST(CONFDIR) AC_SUBST(SECRET_KEY, `$PYTHON -c 'import random; print "".join([random.choice("abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)") for i in range(50)])'`) AC_CONFIG_FILES([Makefile]) -AC_CONFIG_FILES([rpkigui/settings.py rpkigui/urls.py scripts/helper]) +AC_CONFIG_FILES([rpkigui/settings.py rpkigui/urls.py scripts/helper rpkigui/django.wsgi]) AC_CONFIG_FILES([scripts/runserver]) AC_OUTPUT |