helpers: on OSX, MKDIR_P is install-sh -c -d

So we need to call it before cding to the bin directory.
This commit is contained in:
Mathieu Duponchelle 2015-04-17 15:19:07 +02:00
parent 6ce8398bc6
commit 41946aa3f6

View file

@ -9,8 +9,8 @@ bashhelpersdir = $(BASH_HELPERS_DIR)
dist_bashhelpers_DATA = gst
install-exec-hook:
cd $(DESTDIR)$(bindir) && \
$(MKDIR_P) $(DESTDIR)$(BASH_HELPERS_DIR) && \
cd $(DESTDIR)$(bindir) && \
$(INSTALL) `echo "gst-completion-helper-" | sed '$(transform)'`@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)