[tor-commits] [flashproxy/master] Pass multiple arguments rather than call install in a loop.
dcf at torproject.org
dcf at torproject.org
Sun Nov 24 17:35:18 UTC 2013
commit 572ea971c6e2e4406ed2fd61843de99eb7ba5e1c
Author: David Fifield <david at bamsoftware.com>
Date: Sun Nov 24 08:51:50 2013 -0800
Pass multiple arguments rather than call install in a loop.
---
Makefile.client | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile.client b/Makefile.client
index df537d5..f59e0db 100644
--- a/Makefile.client
+++ b/Makefile.client
@@ -62,11 +62,11 @@ endif
install: all
mkdir -p $(DESTDIR)$(bindir)
- for i in $(DST_SCRIPT); do $(INSTALL_SCRIPT) "$$i" $(DESTDIR)$(bindir); done
+ $(INSTALL_SCRIPT) $(DST_SCRIPT) $(DESTDIR)$(bindir)
mkdir -p $(DESTDIR)$(docdir)
- for i in $(DST_DOC); do $(INSTALL_DATA) "$$i" $(DESTDIR)$(docdir); done
+ $(INSTALL_DATA) $(DST_DOC) $(DESTDIR)$(docdir)
mkdir -p $(DESTDIR)$(man1dir)
- for i in $(DST_MAN1); do $(INSTALL_DATA) "$$i" $(DESTDIR)$(man1dir); done
+ $(INSTALL_DATA) $(DST_MAN1) $(DESTDIR)$(man1dir)
uninstall:
for i in $(notdir $(DST_SCRIPT)); do rm $(DESTDIR)$(bindir)/"$$i"; done
More information about the tor-commits
mailing list