No need to create the .pot file all the time

SVN revision: 32598
This commit is contained in:
Sebastian Dransfeld 2007-11-12 03:51:31 +00:00
parent e3153807a0
commit 90e161fa82
1 changed files with 2 additions and 19 deletions

View File

@ -1,13 +1,7 @@
#!/bin/sh
rm -Rf aclocal.m4 autom4te.cache/ ltmain.sh config.log config.status config.cache configure configure.scan libtool Makefile \
data/Makefile.in data/Makefile \
data/images/Makefile.in data/images/Makefile \
data/themes/Makefile.in data/themes/Makefile \
data/themes/minimal/Makefile.in data/themes/minimal/Makefile \
src/Makefile src/Makefile.in \
src/module/Makefile src/module/Makefile.in \
po/Makefile
rm -rf autom4te.cache
rm -f aclocal.m4 ltmain.sh
echo "Running autopoint..." ; autopoint -f || :
echo "Running aclocal..." ; aclocal -I m4 $ACLOCAL_FLAGS || exit 1
@ -15,17 +9,6 @@ echo "Running autoheader..." ; autoheader || exit 1
echo "Running autoconf..." ; autoconf || exit 1
echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
echo "Generating gettext photo.pot template"; \
xgettext \
--output photo.pot \
--output-dir=po \
--language=C \
--add-location \
--keyword=D_ \
--sort-by-file \
--copyright-holder="TODO" \
--foreign-user \
`find . -name "*.[ch]" -print` || exit 1
if [ -z "$NOCONFIGURE" ]; then
./configure "$@"