diff options
Diffstat (limited to 'node/Makefile')
-rw-r--r-- | node/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/node/Makefile b/node/Makefile new file mode 100644 index 00000000..20e15c70 --- /dev/null +++ b/node/Makefile @@ -0,0 +1,24 @@ + + +.PHONY: all build install + +all: + @echo "You are made of stupid!"; exit 23 + +build: node node/build/default/node + cd node && ./configure && make + +install: build + cd node && make install + +node: node-git + ln -vsnf $< $@ + +node-git: + git clone https://github.com/joyent/node node-git + +node-%: /usr/bin/curl + curl http://nodejs.org/dist/$@.tar.gz | tar zx + +/usr/bin/curl: + apt-get install --yes curl |