Show
Ignore:
Timestamp:
23/03/08 17:08:13 (8 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1206288493 +0000
git-parent:

[6a0180cff6f6c80c5579ce3ada1fc71e38d4264c]

git-author:
Rafaël Carré <funman@videolan.org> 1206288493 +0000
Message:

Require gettext 0.16.1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • po/Makefile.in.in

    r974a399 r1263062  
    11# Makefile for PO directory in any package using GNU gettext. 
    2 # Copyright (C) 1995-1997, 2000-2007 by Ulrich Drepper <drepper@gnu.ai.mit.edu> 
     2# Copyright (C) 1995-1997, 2000-2006 by Ulrich Drepper <drepper@gnu.ai.mit.edu> 
    33# 
    44# This file can be copied and used freely without restrictions.  It can 
     
    99# General Public License and is *not* in the public domain. 
    1010# 
    11 # Origin: gettext-0.17 
    12 GETTEXT_MACRO_VERSION = 0.17 
     11# Origin: gettext-0.16 
    1312 
    1413PACKAGE = @PACKAGE@ 
     
    9796 
    9897 
    99 all: check-macro-version all-@USE_NLS@ 
     98all: all-@USE_NLS@ 
    10099 
    101100all-yes: stamp-po 
    102101all-no: 
    103  
    104 # Ensure that the gettext macros and this Makefile.in.in are in sync. 
    105 check-macro-version: 
    106     @test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \ 
    107       || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \ 
    108            exit 1; \ 
    109          } 
    110102 
    111103# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no 
     
    139131# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. 
    140132$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed 
    141     if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \ 
    142       package_gnu='GNU '; \ 
    143     else \ 
    144       package_gnu=''; \ 
    145     fi; \ 
    146133    if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ 
    147134      msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ 
     
    149136      msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ 
    150137    fi; \ 
    151     case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ 
    152       '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ 
    153         $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ 
    154           --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ 
    155           --files-from=$(srcdir)/POTFILES.in \ 
    156           --copyright-holder='$(COPYRIGHT_HOLDER)' \ 
    157           --msgid-bugs-address="$$msgid_bugs_address" \ 
    158         ;; \ 
    159       *) \ 
    160         $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ 
    161           --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ 
    162           --files-from=$(srcdir)/POTFILES.in \ 
    163           --copyright-holder='$(COPYRIGHT_HOLDER)' \ 
    164           --package-name="$${package_gnu}@PACKAGE@" \ 
    165           --package-version='@VERSION@' \ 
    166           --msgid-bugs-address="$$msgid_bugs_address" \ 
    167         ;; \ 
    168     esac 
     138    $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ 
     139      --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ 
     140      --files-from=$(srcdir)/POTFILES.in \ 
     141      --copyright-holder='$(COPYRIGHT_HOLDER)' \ 
     142      --msgid-bugs-address="$$msgid_bugs_address" 
    169143    test ! -f $(DOMAIN).po || { \ 
    170144      if test -f $(srcdir)/$(DOMAIN).pot; then \