[tor-commits] [check/master] Add an install target to the makefile.

arlo at torproject.org arlo at torproject.org
Sat Oct 26 20:40:40 UTC 2013


commit 5f0f30edfd1900159985aae9d97d69f050d3624e
Author: Arlo Breault <arlolra at gmail.com>
Date:   Sat Oct 26 13:37:45 2013 -0700

    Add an install target to the makefile.
---
 Makefile |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 27cfa5a..64835b4 100644
--- a/Makefile
+++ b/Makefile
@@ -81,4 +81,9 @@ locale/:
 		fi \
 	done
 
-.PHONY: start build i18n test bench cover profile descriptors
\ No newline at end of file
+install: build
+	mv check /usr/local/bin/check
+	cp scripts/check.init /etc/init.d/check
+	update-rc.d check defaults
+
+.PHONY: start build i18n test bench cover profile descriptors install
\ No newline at end of file





More information about the tor-commits mailing list