don't fail to autogen when there is no plugin

This commit is contained in:
Yann Leboulanger 2012-03-10 13:32:34 +01:00
parent 2501cf346c
commit 3ae3a151a4
1 changed files with 4 additions and 2 deletions

View File

@ -22,8 +22,10 @@
&& ls -1 data/gajim.desktop.in.in \ && 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 >> \ 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 \ po/POTFILES.in \
&& echo -e "data/gajim.desktop.in\nsrc/ipython_view.py" > po/POTFILES.skip \ && echo -e "data/gajim.desktop.in\nsrc/ipython_view.py" > po/POTFILES.skip || exit 1
&& ls -1 plugins/*/*.py plugins/*/*.ui >> 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 if test -z `which pkg-config 2>/dev/null`;then
echo "***Error: pkg-config not found***" echo "***Error: pkg-config not found***"
echo "See README.html for build requirements." echo "See README.html for build requirements."