changeset 7a86b478c0ff in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=7a86b478c0ff
description: don't fail to autogen when there is no plugin
diffstat:
autogen.sh | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r a8184901e74a -r 7a86b478c0ff autogen.sh
--- a/autogen.sh Mon Mar 12 07:17:06 2012 +0100
+++ b/autogen.sh Sat Mar 10 13:32:34 2012 +0100
@@ -22,8 +22,10 @@
&& ls -1 data/gajim.desktop.in.in \
src/*.py src/common/*.py src/command_system/implementation/*.py
src/common/zeroconf/*.py src/plugins/*.py | grep -v ipython_view.py >> \
po/POTFILES.in \
- && echo -e "data/gajim.desktop.in\nsrc/ipython_view.py" > po/POTFILES.skip \
- && ls -1 plugins/*/*.py plugins/*/*.ui >> po/POTFILES.skip || exit 1
+ && echo -e "data/gajim.desktop.in\nsrc/ipython_view.py" > po/POTFILES.skip
|| exit 1
+ if [ $(find plugins/ -name '*.py' | wc -l) -gt 0 ];then
+ ls -1 plugins/*/*.py plugins/*/*.ui >> po/POTFILES.skip
+ fi
if test -z `which pkg-config 2>/dev/null`;then
echo "***Error: pkg-config not found***"
echo "See README.html for build requirements."
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits