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

[tor-commits] [flashproxy/master] - document build-dependencies of the nodejs flashproxy



commit b84124d8062b826f5a03c3d67376368cf0d4ae42
Author: Ximin Luo <infinity0@xxxxxxx>
Date:   Wed Nov 6 16:51:15 2013 +0000

    - document build-dependencies of the nodejs flashproxy
---
 proxy/modules/nodejs/Makefile |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/proxy/modules/nodejs/Makefile b/proxy/modules/nodejs/Makefile
index 8daf62e..8809eb0 100644
--- a/proxy/modules/nodejs/Makefile
+++ b/proxy/modules/nodejs/Makefile
@@ -1,4 +1,10 @@
-.PHONY: prepublish
+.PHONY: prepublish apt-get-build-dep
+
+apt-get-build-dep:
+	apt-get install nodejs node-xmlhttprequest
+	apt-get install npm && npm install ws
+	@echo "warning: Debian has node.js as /usr/bin/nodejs; install nodejs-legacy if you need it in /usr/bin/node"
+
 prepublish: flashproxy.js
 flashproxy.js: ../../flashproxy.js
 	cp -f $< $@

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