From ca39c2f4dd0fedcaaee348be7a913f0c14876796 Mon Sep 17 00:00:00 2001 From: Stefan Stroe Date: Wed, 29 Nov 2017 18:12:14 +1030 Subject: [PATCH] Support --localedir, --datarootdir and --datadir bfd/ * po/Make-in (datadir): Define as @datadir@. (localedir): Define as @localedir@. (gnulocaledir, gettextsrcdir): Use @datarootdir@. binutils/ * po/Make-in (datadir): Define as @datadir@. (localedir): Define as @localedir@. (gnulocaledir, gettextsrcdir): Use @datarootdir@. gas/ * po/Make-in (datadir): Define as @datadir@. (localedir): Define as @localedir@. (gnulocaledir, gettextsrcdir): Use @datarootdir@. gold/ * po/Make-in (datadir): Define as @datadir@. (localedir): Define as @localedir@. (gnulocaledir, gettextsrcdir): Use @datarootdir@. gprof/ * po/Make-in (datadir): Define as @datadir@. (localedir): Define as @localedir@. (gnulocaledir, gettextsrcdir): Use @datarootdir@. ld/ * po/Make-in (datadir): Define as @datadir@. (localedir): Define as @localedir@. (gnulocaledir, gettextsrcdir): Use @datarootdir@. opcodes/ * po/Make-in (datadir): Define as @datadir@. (localedir): Define as @localedir@. (gnulocaledir, gettextsrcdir): Use @datarootdir@. --- bfd/ChangeLog | 6 ++++++ bfd/po/Make-in | 8 ++++---- binutils/ChangeLog | 6 ++++++ binutils/po/Make-in | 8 ++++---- gas/ChangeLog | 6 ++++++ gas/po/Make-in | 8 ++++---- gold/ChangeLog | 6 ++++++ gold/po/Make-in | 8 ++++---- gprof/ChangeLog | 6 ++++++ gprof/po/Make-in | 8 ++++---- ld/ChangeLog | 6 ++++++ ld/po/Make-in | 8 ++++---- opcodes/ChangeLog | 6 ++++++ opcodes/po/Make-in | 8 ++++---- 14 files changed, 70 insertions(+), 28 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e8d75635930..601272dc801 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2017-11-29 Stefan Stroe + + * po/Make-in (datadir): Define as @datadir@. + (localedir): Define as @localedir@. + (gnulocaledir, gettextsrcdir): Use @datarootdir@. + 2017-11-28 Nick Clifton PR 22507 diff --git a/bfd/po/Make-in b/bfd/po/Make-in index 4c97da787b8..e86f8e04aa3 100644 --- a/bfd/po/Make-in +++ b/bfd/po/Make-in @@ -20,10 +20,10 @@ top_builddir = @top_builddir@ prefix = @prefix@ exec_prefix = @exec_prefix@ -datadir = $(prefix)/@DATADIRNAME@ -localedir = $(datadir)/locale -gnulocaledir = $(prefix)/share/locale -gettextsrcdir = $(prefix)/share/gettext/po +datadir = @datadir@ +localedir = @localedir@ +gnulocaledir = @datarootdir@/locale +gettextsrcdir = @datarootdir@/gettext/po subdir = po DESTDIR = diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 17b623edb5b..1a592e56527 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2017-11-29 Stefan Stroe + + * po/Make-in (datadir): Define as @datadir@. + (localedir): Define as @localedir@. + (gnulocaledir, gettextsrcdir): Use @datarootdir@. + 2017-11-28 H.J. Lu PR binutils/22490 diff --git a/binutils/po/Make-in b/binutils/po/Make-in index d11debba828..a029646ab5c 100644 --- a/binutils/po/Make-in +++ b/binutils/po/Make-in @@ -20,10 +20,10 @@ top_builddir = @top_builddir@ prefix = @prefix@ exec_prefix = @exec_prefix@ -datadir = $(prefix)/@DATADIRNAME@ -localedir = $(datadir)/locale -gnulocaledir = $(prefix)/share/locale -gettextsrcdir = $(prefix)/share/gettext/po +datadir = @datadir@ +localedir = @localedir@ +gnulocaledir = @datarootdir@/locale +gettextsrcdir = @datarootdir@/gettext/po subdir = po DESTDIR = diff --git a/gas/ChangeLog b/gas/ChangeLog index d59423d3939..909ac788260 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2017-11-29 Stefan Stroe + + * po/Make-in (datadir): Define as @datadir@. + (localedir): Define as @localedir@. + (gnulocaledir, gettextsrcdir): Use @datarootdir@. + 2017-11-29 Nick Clifton PR 22492 diff --git a/gas/po/Make-in b/gas/po/Make-in index d11debba828..a029646ab5c 100644 --- a/gas/po/Make-in +++ b/gas/po/Make-in @@ -20,10 +20,10 @@ top_builddir = @top_builddir@ prefix = @prefix@ exec_prefix = @exec_prefix@ -datadir = $(prefix)/@DATADIRNAME@ -localedir = $(datadir)/locale -gnulocaledir = $(prefix)/share/locale -gettextsrcdir = $(prefix)/share/gettext/po +datadir = @datadir@ +localedir = @localedir@ +gnulocaledir = @datarootdir@/locale +gettextsrcdir = @datarootdir@/gettext/po subdir = po DESTDIR = diff --git a/gold/ChangeLog b/gold/ChangeLog index f158a108456..b0014d3b4be 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2017-11-29 Stefan Stroe + + * po/Make-in (datadir): Define as @datadir@. + (localedir): Define as @localedir@. + (gnulocaledir, gettextsrcdir): Use @datarootdir@. + 2017-11-28 Cary Coutant * resolve.cc (Symbol_table::resolve): Allow multiply-defined absolute diff --git a/gold/po/Make-in b/gold/po/Make-in index b62082e29a5..d5890997c64 100644 --- a/gold/po/Make-in +++ b/gold/po/Make-in @@ -20,10 +20,10 @@ top_builddir = @top_builddir@ prefix = @prefix@ exec_prefix = @exec_prefix@ -datadir = $(prefix)/@DATADIRNAME@ -localedir = $(datadir)/locale -gnulocaledir = $(prefix)/share/locale -gettextsrcdir = $(prefix)/share/gettext/po +datadir = @datadir@ +localedir = @localedir@ +gnulocaledir = @datarootdir@/locale +gettextsrcdir = @datarootdir@/gettext/po subdir = po DESTDIR = diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 28a523e0241..11202502bb4 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,9 @@ +2017-11-29 Stefan Stroe + + * po/Make-in (datadir): Define as @datadir@. + (localedir): Define as @localedir@. + (gnulocaledir, gettextsrcdir): Use @datarootdir@. + 2017-10-05 Nick Clifton * po/hu.po: Updated Hungarian translation. diff --git a/gprof/po/Make-in b/gprof/po/Make-in index 4899aee23eb..c72ba416034 100644 --- a/gprof/po/Make-in +++ b/gprof/po/Make-in @@ -20,10 +20,10 @@ top_builddir = @top_builddir@ prefix = @prefix@ exec_prefix = @exec_prefix@ -datadir = $(prefix)/@DATADIRNAME@ -localedir = $(datadir)/locale -gnulocaledir = $(prefix)/share/locale -gettextsrcdir = $(prefix)/share/gettext/po +datadir = @datadir@ +localedir = @localedir@ +gnulocaledir = @datarootdir@/locale +gettextsrcdir = @datarootdir@/gettext/po subdir = po DESTDIR = diff --git a/ld/ChangeLog b/ld/ChangeLog index 2b204543a6a..9bf3c3edf54 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2017-11-29 Stefan Stroe + + * po/Make-in (datadir): Define as @datadir@. + (localedir): Define as @localedir@. + (gnulocaledir, gettextsrcdir): Use @datarootdir@. + 2017-11-28 Alan Modra PR 22471 diff --git a/ld/po/Make-in b/ld/po/Make-in index 05395af9611..732b4a687c6 100644 --- a/ld/po/Make-in +++ b/ld/po/Make-in @@ -20,10 +20,10 @@ top_builddir = @top_builddir@ prefix = @prefix@ exec_prefix = @exec_prefix@ -datadir = $(prefix)/@DATADIRNAME@ -localedir = $(datadir)/locale -gnulocaledir = $(prefix)/share/locale -gettextsrcdir = $(prefix)/share/gettext/po +datadir = @datadir@ +localedir = @localedir@ +gnulocaledir = @datarootdir@/locale +gettextsrcdir = @datarootdir@/gettext/po subdir = po DESTDIR = diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index b72bb949dd4..edcf95cffe1 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2017-11-29 Stefan Stroe + + * po/Make-in (datadir): Define as @datadir@. + (localedir): Define as @localedir@. + (gnulocaledir, gettextsrcdir): Use @datarootdir@. + 2017-11-27 Nick Clifton * po/zh_CN.po: Updated simplified Chinese translation. diff --git a/opcodes/po/Make-in b/opcodes/po/Make-in index d11debba828..a029646ab5c 100644 --- a/opcodes/po/Make-in +++ b/opcodes/po/Make-in @@ -20,10 +20,10 @@ top_builddir = @top_builddir@ prefix = @prefix@ exec_prefix = @exec_prefix@ -datadir = $(prefix)/@DATADIRNAME@ -localedir = $(datadir)/locale -gnulocaledir = $(prefix)/share/locale -gettextsrcdir = $(prefix)/share/gettext/po +datadir = @datadir@ +localedir = @localedir@ +gnulocaledir = @datarootdir@/locale +gettextsrcdir = @datarootdir@/gettext/po subdir = po DESTDIR = -- 2.30.2