]> git.lyx.org Git - features.git/commitdiff
fix portability problem with OS X
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 3 Aug 2004 10:09:46 +0000 (10:09 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 3 Aug 2004 10:09:46 +0000 (10:09 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8863 a592a061-630c-0410-9148-cb99ea01b6c8

po/ChangeLog
po/Makefile.in.in

index 62f614e80aa61c024e8a388a11de8c880d91fc60..796eb9ec2c3a37615776100e03836d398fd0cead 100644 (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>
 
        * de.po: big update
index 880aeeda7b14317eac118272c5028554a0da044f..e86e53227d08042ca9a67210ac7c1da239a97a0b 100644 (file)
@@ -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 $@