helpers: install -D isn't portable, use $(MKDIR_P) instead.

This commit is contained in:
Mathieu Duponchelle 2015-04-17 13:02:12 +02:00
parent d4d161a282
commit 6ce8398bc6

View file

@ -10,8 +10,9 @@ dist_bashhelpers_DATA = gst
install-exec-hook:
cd $(DESTDIR)$(bindir) && \
$(MKDIR_P) $(DESTDIR)$(BASH_HELPERS_DIR) && \
$(INSTALL) `echo "gst-completion-helper-" | sed '$(transform)'`@GST_API_VERSION@$(EXEEXT) \
-D $(DESTDIR)$(BASH_HELPERS_DIR)/gst-completion-helper-@GST_API_VERSION@$(EXEEXT) && \
$(DESTDIR)$(BASH_HELPERS_DIR)/gst-completion-helper-@GST_API_VERSION@$(EXEEXT) && \
rm `echo "gst-completion-helper-" | sed '$(transform)'`@GST_API_VERSION@$(EXEEXT)
uninstall-hook: