summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>2015-02-24 13:07:54 (GMT)
committerMathieu Duponchelle <mathieu.duponchelle@opencreed.com>2015-02-24 13:11:45 (GMT)
commitdc10b1139158e5fd525fe67a6f29fed33ae28d99 (patch)
tree67d336bab6bdd08012d1c67888ec89220cbcd889
parent8786655b5e237db77dd56bb5adf56ab9aa023f83 (diff)
downloadgstreamer-dc10b1139158e5fd525fe67a6f29fed33ae28d99.tar.gz
gstreamer-dc10b1139158e5fd525fe67a6f29fed33ae28d99.tar.xz
helpers: Fix install of completion-helper.
By applying the supplied transformation to the program name, for example --program-prefix.
-rw-r--r--libs/gst/helpers/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gst/helpers/Makefile.am b/libs/gst/helpers/Makefile.am
index 41b0d61..523b2df 100644
--- a/libs/gst/helpers/Makefile.am
+++ b/libs/gst/helpers/Makefile.am
@@ -10,7 +10,8 @@ dist_bashhelpers_DATA = gst
install-data-hook:
cd $(DESTDIR)$(bindir) && \
- mv gst-completion-helper-@GST_API_VERSION@$(EXEEXT) $(DESTDIR)$(BASH_HELPERS_DIR)/gst-completion-helper-@GST_API_VERSION@$(EXEEXT)
+ mv `echo "gst-completion-helper-" | sed '$(transform)'`@GST_API_VERSION@$(EXEEXT) \
+ $(DESTDIR)$(BASH_HELPERS_DIR)/gst-completion-helper-@GST_API_VERSION@$(EXEEXT)
chmod 755 $(DESTDIR)$(BASH_HELPERS_DIR)/gst-completion-helper-@GST_API_VERSION@$(EXEEXT)
endif