add plugins stuff to build system
This commit is contained in:
parent
79297d919c
commit
3daf82f4cc
3 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
SUBDIRS = src data po icons
|
SUBDIRS = src data plugins po icons
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
|
|
|
@ -65,14 +65,17 @@ AC_ARG_ENABLE(site-packages,
|
||||||
instead of DATADIR/gajim/src.])]
|
instead of DATADIR/gajim/src.])]
|
||||||
,
|
,
|
||||||
AC_SUBST([gajim_srcdir], [\${pkgpythondir}])
|
AC_SUBST([gajim_srcdir], [\${pkgpythondir}])
|
||||||
|
AC_SUBST([gajim_pluginsdir], [\${pkgpythondir}])
|
||||||
,
|
,
|
||||||
AC_SUBST([gajim_srcdir], [\${datadir}/\${PACKAGE}/src])
|
AC_SUBST([gajim_srcdir], [\${datadir}/\${PACKAGE}/src])
|
||||||
|
AC_SUBST([gajim_pluginsdir], [\${datadir}/\${PACKAGE}/plugins])
|
||||||
)
|
)
|
||||||
|
|
||||||
AS_AC_EXPAND(GAJIM_SRCDIR, "${gajim_srcdir}")
|
AS_AC_EXPAND(GAJIM_SRCDIR, "${gajim_srcdir}")
|
||||||
AS_AC_EXPAND(PKGDATADIR, "${datadir}/${PACKAGE}")
|
AS_AC_EXPAND(PKGDATADIR, "${datadir}/${PACKAGE}")
|
||||||
AS_AC_EXPAND(DOCDIR, "${docdir}")
|
AS_AC_EXPAND(DOCDIR, "${docdir}")
|
||||||
AS_AC_EXPAND(LOCALEDIR, "${localedir}")
|
AS_AC_EXPAND(LOCALEDIR, "${localedir}")
|
||||||
|
AS_AC_EXPAND(GAJIM_PLUGINSDIR, "${gajim_pluginsdir}")
|
||||||
|
|
||||||
AC_SUBST(VERSION)
|
AC_SUBST(VERSION)
|
||||||
AC_SUBST(PACKAGE)
|
AC_SUBST(PACKAGE)
|
||||||
|
@ -94,6 +97,7 @@ AC_CONFIG_FILES([
|
||||||
scripts/gajim-remote:scripts/gajim.in
|
scripts/gajim-remote:scripts/gajim.in
|
||||||
scripts/gajim-history-manager:scripts/gajim.in
|
scripts/gajim-history-manager:scripts/gajim.in
|
||||||
po/Makefile.in
|
po/Makefile.in
|
||||||
|
plugins/Makefile
|
||||||
])
|
])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
echo "
|
echo "
|
||||||
|
@ -101,6 +105,7 @@ echo "
|
||||||
Installation:
|
Installation:
|
||||||
Prefix ........... ${prefix}
|
Prefix ........... ${prefix}
|
||||||
Python modules ... ${GAJIM_SRCDIR}
|
Python modules ... ${GAJIM_SRCDIR}
|
||||||
|
Plugins .. ....... ${GAJIM_PLUGINSDIR}
|
||||||
Documentation .... ${DOCDIR}
|
Documentation .... ${DOCDIR}
|
||||||
Others ........... ${PKGDATADIR}
|
Others ........... ${PKGDATADIR}
|
||||||
*****************************"
|
*****************************"
|
||||||
|
|
|
@ -10,7 +10,8 @@ nobase_dist_gajimsrc_PYTHON = \
|
||||||
$(srcdir)/common/xmpp/*.py \
|
$(srcdir)/common/xmpp/*.py \
|
||||||
$(srcdir)/common/zeroconf/*.py \
|
$(srcdir)/common/zeroconf/*.py \
|
||||||
$(srcdir)/command_system/*.py \
|
$(srcdir)/command_system/*.py \
|
||||||
$(srcdir)/command_system/implementation/*.py
|
$(srcdir)/command_system/implementation/*.py \
|
||||||
|
$(srcdir)/plugins/*.py
|
||||||
|
|
||||||
dist-hook:
|
dist-hook:
|
||||||
rm -f $(distdir)/ipython_view.py
|
rm -f $(distdir)/ipython_view.py
|
||||||
|
|
Loading…
Add table
Reference in a new issue