Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

173 lines (156 sloc) 3.261 kb
JS_COMPILER = \
java -jar lib/google-compiler/compiler.jar \
--externs=src/externs.js \
--charset=UTF-8
all: \
d3.js \
d3.min.js \
d3.behavior.js \
d3.behavior.min.js \
d3.layout.js \
d3.layout.min.js \
d3.csv.js \
d3.csv.min.js \
d3.geo.js \
d3.geo.min.js \
d3.geom.js \
d3.geom.min.js \
d3.time.js \
d3.time.min.js
.INTERMEDIATE d3.js: \
src/start.js \
d3.core.js \
d3.scale.js \
d3.svg.js \
src/end.js
d3.core.js: \
src/core/core.js \
src/core/date.js \
src/core/object.js \
src/core/array.js \
src/core/functor.js \
src/core/rebind.js \
src/core/ascending.js \
src/core/descending.js \
src/core/min.js \
src/core/max.js \
src/core/nest.js \
src/core/keys.js \
src/core/values.js \
src/core/entries.js \
src/core/merge.js \
src/core/split.js \
src/core/collapse.js \
src/core/call.js \
src/core/range.js \
src/core/requote.js \
src/core/xhr.js \
src/core/text.js \
src/core/json.js \
src/core/html.js \
src/core/xml.js \
src/core/ns.js \
src/core/dispatch.js \
src/core/format.js \
src/core/ease.js \
src/core/event.js \
src/core/interpolate.js \
src/core/rgb.js \
src/core/hsl.js \
src/core/selection.js \
src/core/transition.js \
src/core/timer.js
d3.scale.js: \
src/scale/scale.js \
src/scale/linear.js \
src/scale/log.js \
src/scale/pow.js \
src/scale/sqrt.js \
src/scale/ordinal.js \
src/scale/category.js \
src/scale/quantile.js \
src/scale/quantize.js
d3.svg.js: \
src/svg/svg.js \
src/svg/arc.js \
src/svg/line.js \
src/svg/area.js \
src/svg/chord.js \
src/svg/mouse.js \
src/svg/symbol.js
d3.behavior.js: \
src/start.js \
src/behavior/behavior.js \
src/behavior/zoom.js \
src/end.js
d3.layout.js: \
src/start.js \
src/layout/layout.js \
src/layout/chord.js \
src/layout/force.js \
src/layout/partition.js \
src/layout/pie.js \
src/layout/stack.js \
src/layout/hierarchy.js \
src/layout/treemap.js \
src/end.js
d3.geo.js: \
src/start.js \
src/geo/geo.js \
src/geo/albers.js \
src/geo/mercator.js \
src/geo/path.js \
src/geo/bounds.js \
src/end.js
d3.csv.js: \
src/start.js \
src/csv/csv.js \
src/csv/parse.js \
src/csv/format.js \
src/end.js
d3.time.js: \
src/start.js \
src/time/time.js \
src/time/format.js \
src/end.js
d3.geom.js: \
src/start.js \
src/geom/geom.js \
src/geom/contour.js \
src/geom/hull.js \
src/geom/polygon.js \
src/geom/voronoi.js \
src/geom/delaunay.js \
src/geom/quadtree.js \
src/end.js
tests: \
tests/test-append.test \
tests/test-attr.test \
tests/test-call.test \
tests/test-format.test \
tests/test-time-format.test \
tests/test-time-parse.test \
tests/test-transition.test \
tests/test-scale-linear.test \
tests/test-scale-log.test \
tests/test-scale-sqrt.test \
tests/test-scale-pow.test \
tests/test-svg-arc.test \
tests/test-svg-area.test \
tests/test-svg-line.test \
tests/test-svg-symbol.test
%.min.js: %.js Makefile
@rm -f $@
$(JS_COMPILER) --js $< --js_output_file $@
d3.js d3%.js: Makefile
@rm -f $@
cat $(filter %.js,$^) > $@
@chmod a-w $@
%.test: %.js %.out all
@/bin/echo -n "test: $* "
@node $< > $*.actual
@diff -U 3 $*.out $*.actual && rm -f $*.actual \
&& echo '\033[1;32mPASS\033[0m' \
|| echo test: $* '\033[1;31mFAIL\033[0m'
clean:
rm -f d3*.js
Jump to Line
Something went wrong with that request. Please try again.