]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Tweak po/Makefile construction.
authorBruno Haible <bruno@clisp.org>
Tue, 11 Dec 2001 13:01:01 +0000 (13:01 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 21:41:41 +0000 (23:41 +0200)
m4/ChangeLog
m4/gettext.m4

index cde99555f481d9c9054fddbc3831aecf1e20d1b7..a8e996980828b30c628c96b28d208b6c4acca1d4 100644 (file)
@@ -1,3 +1,8 @@
+2001-12-11  Bruno Haible  <bruno@clisp.org>
+
+       * gettext.m4 (AM_PO_SUBDIRS): Don't insert obsolete Rules-* files into
+       the Makefile.
+
 2001-12-03  Bruno Haible  <bruno@clisp.org>
 
        * gettext.m4 (AM_PO_SUBDIRS): Fix construction of Makefile if
index b700efa0163eb42ed9fe62682f2e9109af4fca2b..a1f79d9288960664c39da9660b8e7874791b6614 100644 (file)
@@ -373,7 +373,10 @@ AC_DEFUN([AM_PO_SUBDIRS],
           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
           for f in "$ac_dir"/Rules-*; do
             if test -f "$f"; then
-              cat "$f" >> "$ac_dir/Makefile"
+              case "$f" in
+                *.orig | *.bak | *~) ;;
+                *) cat "$f" >> "$ac_dir/Makefile" ;;
+              esac
             fi
           done
         fi