helpers: Fix Makefile.am to install the completion-helper correctly.

+ The program is installed at install-exec time, we thus need
  to move it in install-exec-hook, not install-data-hook.
This commit is contained in:
Mathieu Duponchelle 2015-04-15 13:02:36 +02:00
parent 6240b03085
commit d4dcce78b0

View file

@ -8,7 +8,7 @@ gst_completion_helper_@GST_API_VERSION@_LDADD = $(GST_OBJ_LIBS)
bashhelpersdir = $(BASH_HELPERS_DIR)
dist_bashhelpers_DATA = gst
install-data-hook:
install-exec-hook:
cd $(DESTDIR)$(bindir) && \
mv `echo "gst-completion-helper-" | sed '$(transform)'`@GST_API_VERSION@$(EXEEXT) \
$(DESTDIR)$(BASH_HELPERS_DIR)/gst-completion-helper-@GST_API_VERSION@$(EXEEXT)