From f2d8d34999e5185a4744762b29829361dba89e20 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 14 Sep 2012 18:19:39 +0200 Subject: 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. --- gl/build-aux/prefix-gnulib-mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gl') 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) -- cgit v1.2.3-70-g09d2