summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-09-14 18:19:39 +0200
committerJim Meyering <meyering@redhat.com>2012-09-14 18:42:50 +0200
commitf2d8d34999e5185a4744762b29829361dba89e20 (patch)
treebc77b13968e9304a81fa3eebc3d7785b984f4f47 /gl
parent77f89d014be68e42de5107aee0be95d18ee1735c (diff)
downloadcoreutils-f2d8d34999e5185a4744762b29829361dba89e20.tar.xz
build: don't prefix the RHS of "GPERF = ..." with "lib/"
* gl/build-aux/prefix-gnulib-mk (prefix_assignment): Exempt the RHS of a "GPERF = ..." assignment from lib/ prefixing.
Diffstat (limited to 'gl')
-rwxr-xr-xgl/build-aux/prefix-gnulib-mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/gl/build-aux/prefix-gnulib-mk b/gl/build-aux/prefix-gnulib-mk
index 38471a9c1..f0806d71d 100755
--- a/gl/build-aux/prefix-gnulib-mk
+++ b/gl/build-aux/prefix-gnulib-mk
@@ -91,7 +91,11 @@ sub prefix_assignment ($$)
# Some variables are initialized by gnulib.mk, and we don't want
# that. Change '=' to '+='.
- if ($lhs_and_assign_op =~
+ if ($lhs_and_assign_op =~ /^GPERF =$/)
+ {
+ # Do not change the RHS, which specifies the GPERF program.
+ }
+ elsif ($lhs_and_assign_op =~
/^(SUBDIRS|EXTRA_DIST|BUILT_SOURCES|SUFFIXES|MOSTLYCLEANFILES
|CLEANFILES|DISTCLEANFILES|MAINTAINERCLEANFILES|AM_CFLAGS
|AM_CPPFLAGS|AM_GNU_GETTEXT)\ =/x)