fix portability problem with OS X

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8863 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2004-08-03 10:09:46 +00:00
parent 5b47ad79dd
commit b62363c070
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* Makefile.in.in (POTFILES.in): fix portability problem with Mac
OS X (basic regexps do not understand \|)
2004-08-02 Michael Schmitt <michael.schmitt@teststep.org> 2004-08-02 Michael Schmitt <michael.schmitt@teststep.org>
* de.po: big update * de.po: big update

View File

@ -366,7 +366,7 @@ ${srcdir}/POTFILES.in: $(POTFILE_IN_DEPS)
LC_ALL=C ; export LC_ALL ; \ LC_ALL=C ; export LC_ALL ; \
rm -f $@-t \ rm -f $@-t \
&& ( cd $(top_srcdir); \ && ( cd $(top_srcdir); \
grep -l "_(\".*\")" `find src -regex ".*\\.\\(C\\|c\\|h\\|C\\.in\\)" -print` |\ grep -l "_(\".*\")" `find src \( -name '*.[Cch]' -o -name '*.C.in' \) -print` |\
sed -e '/xforms.forms/d' | grep -v -e "src/support/path_defines.C$$" |\ sed -e '/xforms.forms/d' | grep -v -e "src/support/path_defines.C$$" |\
sort | uniq ) > $@-t \ sort | uniq ) > $@-t \
&& mv $@-t $@ && mv $@-t $@