aboutsummaryrefslogtreecommitdiff
path: root/gprof
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 /gprof
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 'gprof')
-rw-r--r--gprof/ChangeLog6
-rw-r--r--gprof/po/Make-in8
2 files changed, 10 insertions, 4 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 28a523e..1120250 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,9 @@
+2017-11-29 Stefan Stroe <stroestefan@gmail.com>
+
+ * po/Make-in (datadir): Define as @datadir@.
+ (localedir): Define as @localedir@.
+ (gnulocaledir, gettextsrcdir): Use @datarootdir@.
+
2017-10-05 Nick Clifton <nickc@redhat.com>
* po/hu.po: Updated Hungarian translation.
diff --git a/gprof/po/Make-in b/gprof/po/Make-in
index 4899aee..c72ba41 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 =