d3/Makefile

264 строки
5.4 KiB
Makefile
Исходник Обычный вид История

2010-09-28 22:26:55 +04:00
JS_COMPILER = \
./lib/uglifyjs/bin/uglifyjs
2010-09-28 22:26:55 +04:00
all: \
d3.js \
d3.min.js \
d3.behavior.js \
d3.behavior.min.js \
2011-04-07 20:54:03 +04:00
d3.chart.js \
d3.chart.min.js \
d3.layout.js \
d3.layout.min.js \
d3.csv.js \
2010-11-06 02:23:53 +03:00
d3.csv.min.js \
d3.geo.js \
d3.geo.min.js \
d3.geom.js \
d3.geom.min.js \
2010-11-06 02:23:53 +03:00
d3.time.js \
d3.time.min.js
2010-09-28 22:26:55 +04:00
.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 \
2011-01-17 23:27:29 +03:00
src/core/min.js \
src/core/max.js \
2011-06-15 20:44:58 +04:00
src/core/sum.js \
2011-07-10 02:15:14 +04:00
src/core/quantile.js \
src/core/zip.js \
2011-05-22 04:26:29 +04:00
src/core/bisect.js \
src/core/first.js \
src/core/last.js \
src/core/nest.js \
src/core/keys.js \
src/core/values.js \
src/core/entries.js \
2011-05-12 21:25:05 +04:00
src/core/permute.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 \
2011-05-21 01:20:17 +04:00
src/core/round.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/uninterpolate.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/nice.js \
src/scale/linear.js \
src/scale/bilinear.js \
src/scale/polylinear.js \
src/scale/log.js \
src/scale/pow.js \
src/scale/sqrt.js \
src/scale/ordinal.js \
2011-01-03 21:30:36 +03:00
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 \
2011-06-23 00:17:18 +04:00
src/svg/line-radial.js \
src/svg/area.js \
2011-06-24 07:49:33 +04:00
src/svg/area-radial.js \
2010-11-27 12:07:00 +03:00
src/svg/chord.js \
src/svg/diagonal.js \
2011-06-23 01:33:34 +04:00
src/svg/diagonal-radial.js \
src/svg/mouse.js \
src/svg/touches.js \
src/svg/symbol.js
d3.behavior.js: \
src/start.js \
src/behavior/behavior.js \
src/behavior/zoom.js \
src/end.js
2011-04-07 20:54:03 +04:00
d3.chart.js: \
src/start.js \
src/chart/chart.js \
2011-04-14 01:31:53 +04:00
src/chart/box.js \
2011-04-07 20:54:03 +04:00
src/chart/bullet.js \
src/chart/horizon.js \
2011-04-24 13:18:03 +04:00
src/chart/qq.js \
2011-04-07 20:54:03 +04:00
src/end.js
d3.layout.js: \
src/start.js \
src/layout/layout.js \
src/layout/bundle.js \
src/layout/chord.js \
2011-03-04 02:43:57 +03:00
src/layout/force.js \
src/layout/partition.js \
src/layout/pie.js \
2011-01-17 23:27:29 +03:00
src/layout/stack.js \
2011-05-01 12:48:01 +04:00
src/layout/histogram.js \
src/layout/hierarchy.js \
src/layout/pack.js \
src/layout/cluster.js \
src/layout/tree.js \
2011-03-04 02:43:57 +03:00
src/layout/treemap.js \
src/end.js
d3.geo.js: \
src/start.js \
src/geo/geo.js \
src/geo/azimuthal.js \
src/geo/albers.js \
2010-11-10 01:45:02 +03:00
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
2010-11-06 02:23:53 +03:00
d3.time.js: \
src/start.js \
2010-11-06 02:23:53 +03:00
src/time/time.js \
src/time/format.js \
2011-06-15 11:16:46 +04:00
src/time/format-utc.js \
src/time/format-iso.js \
2011-07-19 04:56:30 +04:00
src/time/range.js \
src/time/second.js \
src/time/seconds.js \
src/time/minute.js \
src/time/minutes.js \
src/time/hour.js \
src/time/hours.js \
src/time/day.js \
src/time/days.js \
src/time/week.js \
src/time/weeks.js \
src/time/month.js \
src/time/months.js \
src/time/year.js \
src/time/years.js \
2011-07-20 04:08:40 +04:00
src/time/scale.js \
src/time/scale-utc.js \
src/end.js
2010-11-06 02:23:53 +03:00
d3.geom.js: \
src/start.js \
src/geom/geom.js \
2010-12-07 07:27:25 +03:00
src/geom/contour.js \
2010-11-23 03:21:46 +03:00
src/geom/hull.js \
src/geom/polygon.js \
src/geom/voronoi.js \
src/geom/delaunay.js \
2011-01-18 01:55:50 +03:00
src/geom/quadtree.js \
src/end.js
2011-07-19 05:08:06 +04:00
test: \
test/core/test-append.test \
test/core/test-attr.test \
test/core/test-bisect.test \
test/core/test-call.test \
test/core/test-classed.test \
test/core/test-format.test \
test/core/test-hsl.test \
test/core/test-insert.test \
test/core/test-interpolate.test \
test/core/test-keys.test \
test/core/test-max.test \
test/core/test-min.test \
test/core/test-nest.test \
test/core/test-permute.test \
test/core/test-remove.test \
test/core/test-rgb.test \
test/core/test-round.test \
test/core/test-sum.test \
test/core/test-transition.test \
test/core/test-zip.test \
test/csv/test-parse.test \
2011-07-21 02:24:27 +04:00
test/layout/test-histogram.test \
test/layout/test-treemap.test \
2011-07-19 05:08:06 +04:00
test/scale/test-linear.test \
test/scale/test-log.test \
test/scale/test-polylinear.test \
test/scale/test-pow.test \
test/scale/test-quantile.test \
test/scale/test-sqrt.test \
test/svg/test-arc.test \
test/svg/test-area.test \
test/svg/test-line.test \
test/svg/test-symbol.test \
test/time/test-day.test \
test/time/test-days.test \
test/time/test-format-iso.test \
test/time/test-format-utc.test \
test/time/test-format.test \
test/time/test-hour.test \
test/time/test-hours.test \
test/time/test-minute.test \
test/time/test-minutes.test \
test/time/test-month.test \
test/time/test-months.test \
test/time/test-parse-iso.test \
test/time/test-parse-utc.test \
test/time/test-parse.test \
2011-07-20 04:08:40 +04:00
test/time/test-scale.test \
test/time/test-scale-utc.test \
2011-07-19 05:08:06 +04:00
test/time/test-second.test \
test/time/test-seconds.test \
test/time/test-week.test \
test/time/test-weeks.test \
test/time/test-year.test \
test/time/test-years.test
2011-03-05 02:25:09 +03:00
%.min.js: %.js Makefile
@rm -f $@
$(JS_COMPILER) < $< > $@
2010-09-28 22:26:55 +04:00
d3.js d3%.js: Makefile
@rm -f $@
cat $(filter %.js,$^) > $@
@chmod a-w $@
2010-09-28 22:26:55 +04:00
%.test: %.js %.out all
2011-03-05 02:25:09 +03:00
@/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'
2010-09-28 22:26:55 +04:00
clean:
rm -f d3*.js