* configure.ac:
* morituri/configure/installed.py.in: * morituri/configure/uninstalled.py.in: Create configure.configure.pluginsdir
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2012-11-25 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* configure.ac:
|
||||
* morituri/configure/installed.py.in:
|
||||
* morituri/configure/uninstalled.py.in:
|
||||
Create configure.configure.pluginsdir
|
||||
|
||||
2012-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* configure.ac:
|
||||
|
||||
@@ -35,6 +35,9 @@ AS_AC_EXPAND(PYTHONLIBDIR, "\${exec_prefix}/lib/python$PYVER/site-packages")
|
||||
AC_MSG_NOTICE(Installing python code in $PYTHONLIBDIR)
|
||||
AC_SUBST(PYTHONLIBDIR)
|
||||
|
||||
AS_AC_EXPAND(PLUGINSDIR, "\${libdir}/morituri/plugins")
|
||||
AC_MSG_NOTICE(Setting plugins directory to $PLUGINSDIR)
|
||||
|
||||
dnl check for epydoc
|
||||
AC_CHECK_PROG(EPYDOC, epydoc, yes, no)
|
||||
AM_CONDITIONAL(HAVE_EPYDOC, test "x$EPYDOC" = "xyes")
|
||||
|
||||
@@ -5,5 +5,6 @@
|
||||
def get():
|
||||
return {
|
||||
'isinstalled': True,
|
||||
'pluginsdir': '@PLUGINSDIR@',
|
||||
'version': '@VERSION@',
|
||||
}
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
# -*- Mode: Python -*-
|
||||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
|
||||
import os
|
||||
|
||||
|
||||
__thisdir = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
def get():
|
||||
return {
|
||||
'isinstalled': False,
|
||||
'pluginsdir': os.path.abspath(os.path.join(
|
||||
__thisdir, '..', '..', 'plugins')),
|
||||
'version': '@VERSION@',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user