Hopefully the last best fix for building POTFILES.in everywhere. It should also be safe to remove POTFILES.in from CVS -- try rm -f po/POTFILES*; make a few times.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1520 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Allan Rae 2001-02-16 01:07:34 +00:00
parent d5905fabf6
commit 14ee5d8843
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-02-16 Allan Rae <rae@lyx.org>
* Makefile.in.in: grep -E isn't necessary anymore and the awk is
superfluous to the generation of POTFILES.in
2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* da.po: update from Claus Hindsgaul

View File

@ -232,8 +232,7 @@ update-po: Makefile
${srcdir}/POTFILES.in: $(POTFILE_IN_DEPS)
rm -f $@-t \
&& ( cd $(top_srcdir); \
grep -l -E "_\(\".*\"\)" `find src -name \*.[hHC]` | \
awk 'BEGIN {FS= ":"} {print $$1}' | \
grep -l "_(\".*\")" `find src -name \*.[hHC]` | \
sed -e '/xforms.forms/d' | \
sort -f -d | uniq ) > $@-t \
&& echo "src/ext_l10n.h" >> $@-t \