[tor-commits] [flashproxy/master] add an install target to Makefile for convenience

infinity0 at torproject.org infinity0 at torproject.org
Wed Dec 4 17:14:00 UTC 2013


commit f20d128c0b2a00c6398e179bc35a1351668d16b0
Author: Ximin Luo <infinity0 at gmx.com>
Date:   Wed Dec 4 17:13:15 2013 +0000

    add an install target to Makefile for convenience
---
 Makefile |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile b/Makefile
index 0303862..143b098 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,10 @@ REBUILD_MAN = 0
 # all is N/A for a binary package, but include for completeness
 all:
 
+install:
+	$(MAKE_CLIENT) DESTDIR=$(DESTDIR) REBUILD_MAN=$(REBUILD_MAN) install
+	$(PYTHON) setup-common.py install --root=$(DESTDIR)
+
 DISTDIR = dist/$(DISTNAME)
 $(DISTDIR): Makefile.client setup-common.py $(THISFILE)
 	mkdir -p $(DISTDIR)



More information about the tor-commits mailing list