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
parentUse the record_alignment function when creating a .note section, in case the ... (diff)
downloadbinutils-gdb-ca39c2f4dd0fedcaaee348be7a913f0c14876796.tar.gz
binutils-gdb-ca39c2f4dd0fedcaaee348be7a913f0c14876796.tar.bz2
binutils-gdb-ca39c2f4dd0fedcaaee348be7a913f0c14876796.zip
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 28a523e0241..11202502bb4 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 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 =