aboutsummaryrefslogtreecommitdiff
path: root/ld/po
diff options
context:
space:
mode:
authorStefan Stroe <stroestefan@gmail.com>2017-11-29 18:12:14 +1030
committerAlan Modra <amodra@gmail.com>2017-11-29 20:10:52 +1030
commitca39c2f4dd0fedcaaee348be7a913f0c14876796 (patch)
tree5e980790c9a1da9524807e73c254c81333a26ace /ld/po
parented9c7ee03780b8d5acf091091ded29cd40df8254 (diff)
downloadgdb-ca39c2f4dd0fedcaaee348be7a913f0c14876796.zip
gdb-ca39c2f4dd0fedcaaee348be7a913f0c14876796.tar.gz
gdb-ca39c2f4dd0fedcaaee348be7a913f0c14876796.tar.bz2
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@.
Diffstat (limited to 'ld/po')
-rw-r--r--ld/po/Make-in8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/po/Make-in b/ld/po/Make-in
index 05395af..732b4a6 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 =