269
279
# FIXME: This probably does not work w/ builddir != srcdir because it
270
280
# gets at source files relative to the current directory.
272
if grep GENPOT po/Makefile.in.in >/dev/null; then
273
echo "no need for patching file 'Makefile.in.in'";
275
# gettextize 4.x Standard
276
elif grep '# Copyright (C) 1995-1997, 2000-2002' po/Makefile.in.in > /dev/null; then
277
patch po/Makefile.in.in < $pkgdatadir/intltool-po-Makefile.in.in-patch-5
278
# gettext 0.12 and 0.13
279
elif grep '# Copyright (C) 1995-1997, 2000-2003' po/Makefile.in.in > /dev/null;
281
patch po/Makefile.in.in < $pkgdatadir/intltool-po-Makefile.in.in-patch-8
284
elif grep '# POTFILES is created from POTFILES.in' po/Makefile.in.in > /dev/null; then
285
if grep 'lang.new.po' po/Makefile.in.in > /dev/null; then
286
patch po/Makefile.in.in < $pkgdatadir/intltool-po-Makefile.in.in-patch-7
287
elif grep 'XGETTEXT = @XGETTEXT@' po/Makefile.in.in > /dev/null; then
288
patch po/Makefile.in.in < $pkgdatadir/intltool-po-Makefile.in.in-patch-6
290
patch po/Makefile.in.in < $pkgdatadir/intltool-po-Makefile.in.in-patch-4
293
elif grep GETTEXT_PACKAGE po/Makefile.in.in >/dev/null; then
294
patch po/Makefile.in.in < $pkgdatadir/intltool-po-Makefile.in.in-patch-3
296
elif grep builddir po/Makefile.in.in >/dev/null; then
297
patch po/Makefile.in.in < $pkgdatadir/intltool-po-Makefile.in.in-patch-2
300
patch po/Makefile.in.in < $pkgdatadir/intltool-po-Makefile.in.in-patch-1
282
grep INTLTOOL_MAKEFILE po/Makefile.in.in >/dev/null || {
283
echo "$progname: 'po/Makefile.in.in' is out of date: use '--force' to overwrite"