commit 0543d107e413e55cd9181f2513acea94e2f838e9 Author: David Fifield david@bamsoftware.com Date: Wed Dec 11 22:32:49 2013 -0800
Revert "Pass multiple arguments rather than call install in a loop."
This reverts commit 572ea971c6e2e4406ed2fd61843de99eb7ba5e1c.
dist-exe sets DST_SCRIPT=, which causes an error when it is used in Makefile.client. --- Makefile.client | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile.client b/Makefile.client index c8ce70d..efdef7c 100644 --- a/Makefile.client +++ b/Makefile.client @@ -62,11 +62,11 @@ endif
install: all mkdir -p $(DESTDIR)$(bindir) - $(INSTALL_SCRIPT) $(DST_SCRIPT) $(DESTDIR)$(bindir) + for i in $(DST_SCRIPT); do $(INSTALL_SCRIPT) "$$i" $(DESTDIR)$(bindir); done mkdir -p $(DESTDIR)$(docdir) - $(INSTALL_DATA) $(DST_DOC) $(DESTDIR)$(docdir) + for i in $(DST_DOC); do $(INSTALL_DATA) "$$i" $(DESTDIR)$(docdir); done mkdir -p $(DESTDIR)$(man1dir) - $(INSTALL_DATA) $(DST_MAN1) $(DESTDIR)$(man1dir) + for i in $(DST_MAN1); do $(INSTALL_DATA) "$$i" $(DESTDIR)$(man1dir); done
uninstall: for i in $(notdir $(DST_SCRIPT)); do rm $(DESTDIR)$(bindir)/"$$i"; done