helpers: install -D isn't portable, use $(MKDIR_P) instead.
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Fri, 17 Apr 2015 11:02:12 +0000 (13:02 +0200)
committerMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Fri, 17 Apr 2015 11:02:51 +0000 (13:02 +0200)
libs/gst/helpers/Makefile.am

index a616721..e6d52bb 100644 (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: