From b62363c070fdc2485775a6c2a722f4025bc47e4e Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 3 Aug 2004 10:09:46 +0000 Subject: [PATCH] fix portability problem with OS X git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8863 a592a061-630c-0410-9148-cb99ea01b6c8 --- po/ChangeLog | 5 +++++ po/Makefile.in.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/po/ChangeLog b/po/ChangeLog index 62f614e80a..796eb9ec2c 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,8 @@ +2004-08-03 Jean-Marc Lasgouttes + + * Makefile.in.in (POTFILES.in): fix portability problem with Mac + OS X (basic regexps do not understand \|) + 2004-08-02 Michael Schmitt * de.po: big update diff --git a/po/Makefile.in.in b/po/Makefile.in.in index 880aeeda7b..e86e53227d 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -366,7 +366,7 @@ ${srcdir}/POTFILES.in: $(POTFILE_IN_DEPS) LC_ALL=C ; export LC_ALL ; \ rm -f $@-t \ && ( 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$$" |\ sort | uniq ) > $@-t \ && mv $@-t $@ -- 2.39.2