[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [flashproxy/master] Pass multiple arguments rather than call install in a loop.



commit 572ea971c6e2e4406ed2fd61843de99eb7ba5e1c
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits