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 a6167216a788d75676b7dc97e64776508ce8cc51..e6d52bbb88cc423b047cecb33f1019c19bd93128 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: