Commit 214218d8 authored by Ian Lynagh's avatar Ian Lynagh

Fix install when INSTALL_LIBEXECS = ""

This is the case on Windows (as we have no shell wrappers), and mingw's
shell doesn't like an empty list of things in a "for" command.
parent 0e1c226e
...@@ -764,10 +764,14 @@ install_libexec_scripts: $(INSTALL_LIBEXEC_SCRIPTS) ...@@ -764,10 +764,14 @@ install_libexec_scripts: $(INSTALL_LIBEXEC_SCRIPTS)
done done
install_libexecs: $(INSTALL_LIBEXECS) install_libexecs: $(INSTALL_LIBEXECS)
$(INSTALL_DIR) $(DESTDIR)$(ghclibexecdir) $(INSTALL_DIR) $(DESTDIR)$(ghclibexecdir)
for i in $(INSTALL_LIBEXECS); do \ for i in $(INSTALL_LIBEXECS); do \
$(INSTALL_PROGRAM) $(INSTALL_BIN_OPTS) $$i $(DESTDIR)$(ghclibexecdir); \ $(INSTALL_PROGRAM) $(INSTALL_BIN_OPTS) $$i $(DESTDIR)$(ghclibexecdir); \
done done
install_topdir_scripts: $(INSTALL_TOPDIR_SCRIPTS) install_topdir_scripts: $(INSTALL_TOPDIR_SCRIPTS)
$(INSTALL_DIR) $(DESTDIR)$(topdir) $(INSTALL_DIR) $(DESTDIR)$(topdir)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment