Fix: prepend to $program_transform_name instead overriding it
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 16 Jan 2017 22:34:34 +0000 (17:34 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 18:09:09 +0000 (14:09 -0400)
This makes the configure options program-prefix and program-suffix work
as well as the renaming of babeltrace.bin to babeltrace at install time.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac

index 4adacc0be227e3e872623d1060cbaca04733e36b..75d330b77c2f8ae9b1d53c07977f0b83bacb1473 100644 (file)
@@ -349,8 +349,8 @@ AC_SUBST(babeltracectfirincludedir)
 babeltracepluginincludedir="${includedir}/babeltrace/plugin"
 AC_SUBST(babeltracepluginincludedir)
 
-program_transform_name='s/babeltrace[\].bin/babeltrace/g'
-AC_SUBST(program_transform_name)
+# Add a rule to $program_transform_name to rename babeltrace.bin to babeltrace on installation
+program_transform_name="s&babeltrace\.bin&babeltrace&;$program_transform_name"
 
 # check for Doxygen
 AC_ARG_ENABLE(
This page took 0.025402 seconds and 4 git commands to generate.