The branch, 2.0.x, has been updated. - Log -----------------------------------------------------------------
commit 7dde9ba9528f3b870cfcc4d87d8cf70f964b9f89 Author: Kornel Benko <kor...@lyx.org> Date: Fri Jun 29 12:09:50 2012 +0200 Backport f0a669014f952c8289da6279841cab10f0c3d6c7 from master Exclude generated files from .po string extraction. Original author: Georg Baum diff --git a/po/Rules-lyx b/po/Rules-lyx index cd6a350..c8cae85 100644 --- a/po/Rules-lyx +++ b/po/Rules-lyx @@ -7,11 +7,12 @@ POTFILE_IN_DEPS = $(shell find $(top_srcdir)/src -name Makefile.am) $(DOMAIN).pot-update: l10n_pots +# The ui_*.h and moc_*.cpp filters must match the patterns in src/frontends/qt4/Makefile.am ${srcdir}/POTFILES.in: $(POTFILE_IN_DEPS) LC_ALL=C ; export LC_ALL ; \ rm -f $@-t \ && ( cd $(top_srcdir); \ - grep -l "_(\".*\")" `find src \( -name '*.h' -o -name '*.cpp' -o -name '*.cpp.in' \) -print` |\ + grep -l "_(\".*\")" `find src \( \( -name '*.h' -a ! -name 'ui_*.h' \) -o \( -name '*.cpp' -a ! -name 'moc_*.cpp' \) \) -print` |\ sort | uniq ) > $@-t \ && mv $@-t $@ ----------------------------------------------------------------------- Summary of changes: po/Rules-lyx | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) hooks/post-receive -- The LyX Source Repository