diff options
author | EUcancER <root@euer.krebsco.de> | 2011-08-31 12:52:15 +0200 |
---|---|---|
committer | EUcancER <root@euer.krebsco.de> | 2011-08-31 12:52:15 +0200 |
commit | a2e4ac21444fd9af436039ba921e809cfca59ea2 (patch) | |
tree | e12c692527bc9b2b373cf0a4956f0ff458045cd7 /node/Makefile | |
parent | efe72ae286caa4ecf88edcbcb619fb0ceb886ca8 (diff) | |
parent | cf46dbc53b36772fb0461b9451337c118e705c55 (diff) |
Gigantor Merge!
Conflicts:
cholerab/news/Candidate - add Ante scriptum
cholerab/shirts/bestellliste - merged as theirs
oncology/dpfhack_display - now a submodule
add bug-fixing for adv_graphgen, as well as a Makefile
Diffstat (limited to 'node/Makefile')
-rw-r--r-- | node/Makefile | 44 |
1 files changed, 3 insertions, 41 deletions
diff --git a/node/Makefile b/node/Makefile index 0b7775ed..cbfa1e4a 100644 --- a/node/Makefile +++ b/node/Makefile @@ -1,46 +1,8 @@ -ifndef version - version := $(shell \ - curl -sS http://nodejs.org/ | \ - ../util/bin/hrefs | \ - sed -rn 's:.*node-(v[0-9.]+)\.tar\.gz:\1:p' | \ - sort | \ - tail -n 1) -endif - -export CPPFLAGS := -Wno-unused-but-set-variable - -.PHONY: all build install +.PHONY: all install all: @echo "You are made of stupid!"; exit 23 -build: out/node-$(version) - -install: out/node-$(version) - ln -vsnf ../node/$</bin/node ../bin/node - -out/node-%: src/node-% - cd $< && ./configure --prefix=$(PWD)/$@ - make -C $< - make -C $< install - -../bin/node: out/ - -src/node-git: src - cd src && \ - git clone https://github.com/joyent/node node-git - -src/node-%: src/node-%.tar.gz - cd src && tar xf node-$*.tar.gz - -.PRECIOUS: src/node-%.tar.gz -src/node-%.tar.gz: /usr/bin/curl src - { curl -o $@ http://nodejs.org/dist/node-$*.tar.gz && gzip -t $@; } || \ - { curl -o $@ http://nodejs.org/dist/$*/node-$*.tar.gz && gzip -t $@; } - -/usr/bin/curl: - apt-get install --yes curl - -src: - mkdir -v -p $@ +install: + ./install |