diff options
author | makefu <makefu@syntax-fehler.de> | 2011-06-23 01:11:50 +0200 |
---|---|---|
committer | makefu <makefu@syntax-fehler.de> | 2011-06-23 01:11:50 +0200 |
commit | 312a8cba493d25beab6ff6210ca29a9f2b1bbc04 (patch) | |
tree | 9b2269dde9678e29a8dd26c84b2573e781eb2de9 /node | |
parent | 54c2113d4082b9a28e6f317e3409db4821e10bb1 (diff) | |
parent | 3cf2e3aeef1f62429281399b2e7e3ae98408260d (diff) |
merged Makefile, install lmsensors AND tmux
Diffstat (limited to 'node')
-rw-r--r-- | node/Makefile | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/node/Makefile b/node/Makefile index 00e27b6f..20e15c70 100644 --- a/node/Makefile +++ b/node/Makefile @@ -1,8 +1,24 @@ -.PHONY: all -all: node-v0.4.8 - cd $< && ./configure && make && make install +.PHONY: all build install -node-%: - cur http://nodejs.org/dist/$@.tar.gz | tar zx +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 |