add plugins stuff to build system

This commit is contained in:
Yann Leboulanger 2010-07-29 10:10:06 +02:00
parent 79297d919c
commit 3daf82f4cc
3 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
SUBDIRS = src data po icons
SUBDIRS = src data plugins po icons
ACLOCAL_AMFLAGS = -I m4

View File

@ -65,14 +65,17 @@ AC_ARG_ENABLE(site-packages,
instead of DATADIR/gajim/src.])]
,
AC_SUBST([gajim_srcdir], [\${pkgpythondir}])
AC_SUBST([gajim_pluginsdir], [\${pkgpythondir}])
,
AC_SUBST([gajim_srcdir], [\${datadir}/\${PACKAGE}/src])
AC_SUBST([gajim_pluginsdir], [\${datadir}/\${PACKAGE}/plugins])
)
AS_AC_EXPAND(GAJIM_SRCDIR, "${gajim_srcdir}")
AS_AC_EXPAND(PKGDATADIR, "${datadir}/${PACKAGE}")
AS_AC_EXPAND(DOCDIR, "${docdir}")
AS_AC_EXPAND(LOCALEDIR, "${localedir}")
AS_AC_EXPAND(GAJIM_PLUGINSDIR, "${gajim_pluginsdir}")
AC_SUBST(VERSION)
AC_SUBST(PACKAGE)
@ -94,6 +97,7 @@ AC_CONFIG_FILES([
scripts/gajim-remote:scripts/gajim.in
scripts/gajim-history-manager:scripts/gajim.in
po/Makefile.in
plugins/Makefile
])
AC_OUTPUT
echo "
@ -101,6 +105,7 @@ echo "
Installation:
Prefix ........... ${prefix}
Python modules ... ${GAJIM_SRCDIR}
Plugins .. ....... ${GAJIM_PLUGINSDIR}
Documentation .... ${DOCDIR}
Others ........... ${PKGDATADIR}
*****************************"

View File

@ -10,7 +10,8 @@ nobase_dist_gajimsrc_PYTHON = \
$(srcdir)/common/xmpp/*.py \
$(srcdir)/common/zeroconf/*.py \
$(srcdir)/command_system/*.py \
$(srcdir)/command_system/implementation/*.py
$(srcdir)/command_system/implementation/*.py \
$(srcdir)/plugins/*.py
dist-hook:
rm -f $(distdir)/ipython_view.py