Skip to content

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Sep 27, 2011
2 parents 151d09d + bbcaa27 commit 9e16bee
Show file tree
Hide file tree
Showing 40 changed files with 1,649 additions and 618 deletions.
13 changes: 11 additions & 2 deletions Makefile
@@ -1,7 +1,8 @@
# See the README for installation instructions.

JS_COMPILER = ./node_modules/uglify-js/bin/uglifyjs
JS_TESTER = ./node_modules/vows/bin/vows
NODE_PATH ?= ./node_modules
JS_COMPILER = $(NODE_PATH)/uglify-js/bin/uglifyjs
JS_TESTER = $(NODE_PATH)/vows/bin/vows

all: \
d3.js \
Expand Down Expand Up @@ -183,10 +184,14 @@ d3.geo.js: \
src/geo/geo.js \
src/geo/azimuthal.js \
src/geo/albers.js \
src/geo/bonne.js \
src/geo/equirectangular.js \
src/geo/mercator.js \
src/geo/type.js \
src/geo/path.js \
src/geo/bounds.js \
src/geo/circle.js \
src/geo/greatArc.js \
src/geo/greatCircle.js \
src/end.js

Expand Down Expand Up @@ -245,6 +250,10 @@ d3.js d3%.js: Makefile
cat $(filter %.js,$^) > $@
@chmod a-w $@

install:
mkdir -p node_modules
npm install

package.json: d3.js
node src/package.js > $@

Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -45,7 +45,7 @@ developing on Mac OS X, an easy way to install Node and NPM is using

Next, from the root directory of this repository, install D3's dependencies:

npm install
make install

You can see the list of dependencies in package.json. The packages will be
installed in the node_modules directory.
You can see the list of dependencies in package.json. NPM will install the
packages in the node_modules directory.

0 comments on commit 9e16bee

Please sign in to comment.