]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Make po/Makefile depend on po/LINGUAS if it exists.
authorBruno Haible <bruno@clisp.org>
Mon, 26 Aug 2002 19:51:41 +0000 (19:51 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:08:45 +0000 (12:08 +0200)
m4/ChangeLog
m4/gettext.m4
po/ChangeLog
po/Makefile.in.in

index 85cdc0f6a3354dff0205565c0d46e27ff35bedb9..ee8b35794055b06079cb0b2d7594c2c1a90da645 100644 (file)
@@ -1,3 +1,12 @@
+2002-08-25  Bruno Haible  <bruno@clisp.org>
+
+       * gettext.m4 (AM_PO_SUBDIRS): New variable POMAKEFILEDEPS. Substitute
+       it into Makefile.
+
+2002-08-06  Bruno Haible  <bruno@clisp.org>
+
+       * gettext-0.11.5 released.
+
 2002-07-27  Andreas Schwab  <schwab@suse.de>
 
        * gettext.m4: Avoid expanding ALL_LINGUAS in comment.
index 45cad855730e566ecee4771fc635ffc43d1699d8..7124ed829bef5e9a30747cd4eab1cffdbe1c2cd7 100644 (file)
@@ -1,4 +1,4 @@
-# gettext.m4 serial 17 (gettext-0.11.5)
+# gettext.m4 serial 18 (gettext-0.11.6)
 dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
@@ -416,6 +416,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
           rm -f "$ac_dir/POTFILES"
           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[  ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
+          POMAKEFILEDEPS="POTFILES.in"
           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
           # on $ac_dir but don't depend on user-specified configuration
           # parameters.
@@ -427,6 +428,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
+            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           fi
           case "$ac_given_srcdir" in
             .) srcdirpre= ;;
@@ -475,7 +477,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
             done
           fi
           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
-          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"
+          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" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
             if test -f "$f"; then
               case "$f" in
index 64a7f5cd32e4541664ed8d013fa108fec2d9eab1..7f389106691f6841a97f4a3ff6523726dbc8b102 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-25  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.in.in (Makefile): Depend on @POMAKEFILEDEPS@ that includes
+       LINGUAS when present. Reported by Jim Meyering <meyering@lucent.com>.
+
 2002-08-23  Bruno Haible  <bruno@clisp.org>
 
        * ca.po: Update from Ivan Vilata i Balaguer <ivan@selidor.net>.
index ada8bb4ffa3580e35d9d069bb518796b333a3b37..b8eab2b846229b05b408dba3f7a1c82bd2adc9c5 100644 (file)
@@ -305,7 +305,7 @@ $(DUMMYPOFILES):
 update-gmo: Makefile $(GMOFILES)
        @:
 
-Makefile: Makefile.in.in $(top_builddir)/config.status POTFILES.in
+Makefile: Makefile.in.in $(top_builddir)/config.status @POMAKEFILEDEPS@
        cd $(top_builddir) \
          && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \
               $(SHELL) ./config.status