diff options
author | Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> | 2015-02-24 14:07:54 +0100 |
---|---|---|
committer | Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> | 2015-02-24 14:11:45 +0100 |
commit | dc10b1139158e5fd525fe67a6f29fed33ae28d99 (patch) | |
tree | 67d336bab6bdd08012d1c67888ec89220cbcd889 | |
parent | 8786655b5e237db77dd56bb5adf56ab9aa023f83 (diff) |
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.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gst/helpers/Makefile.am b/libs/gst/helpers/Makefile.am index 41b0d61e1..523b2dfeb 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 |