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>
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(