2012-03-20 23:43:21 +00:00
|
|
|
JS_FILES = \
|
|
|
|
src/intro.js \
|
|
|
|
src/core.js \
|
2013-07-03 17:43:32 +00:00
|
|
|
src/interactiveLayer.js \
|
2012-05-07 12:53:51 +00:00
|
|
|
src/tooltip.js \
|
|
|
|
src/utils.js \
|
2012-05-17 06:04:33 +00:00
|
|
|
src/models/axis.js \
|
2012-05-26 08:55:32 +00:00
|
|
|
src/models/bullet.js \
|
2012-06-30 07:17:21 +00:00
|
|
|
src/models/bulletChart.js \
|
2012-06-18 02:25:04 +00:00
|
|
|
src/models/cumulativeLineChart.js \
|
2012-06-08 21:21:08 +00:00
|
|
|
src/models/discreteBar.js \
|
2012-06-09 19:45:21 +00:00
|
|
|
src/models/discreteBarChart.js \
|
2012-06-22 23:52:07 +00:00
|
|
|
src/models/distribution.js \
|
2013-06-07 20:34:57 +00:00
|
|
|
src/models/historicalBar.js \
|
|
|
|
src/models/historicalBarChart.js \
|
2012-07-18 05:59:09 +00:00
|
|
|
src/models/indentedTree.js \
|
2012-05-24 07:35:55 +00:00
|
|
|
src/models/legend.js \
|
2012-03-20 23:43:21 +00:00
|
|
|
src/models/line.js \
|
2012-06-09 06:51:41 +00:00
|
|
|
src/models/lineChart.js \
|
2012-06-16 07:12:42 +00:00
|
|
|
src/models/linePlusBarChart.js \
|
2012-06-18 17:36:12 +00:00
|
|
|
src/models/lineWithFocusChart.js \
|
2013-04-07 03:19:31 +00:00
|
|
|
src/models/linePlusBarWithFocusChart.js \
|
2012-05-29 07:42:25 +00:00
|
|
|
src/models/multiBar.js \
|
2012-06-15 20:17:45 +00:00
|
|
|
src/models/multiBarChart.js \
|
2012-06-06 19:39:53 +00:00
|
|
|
src/models/multiBarHorizontal.js \
|
2012-06-12 16:41:16 +00:00
|
|
|
src/models/multiBarHorizontalChart.js \
|
2012-07-27 19:37:40 +00:00
|
|
|
src/models/multiChart.js \
|
2012-07-18 05:59:09 +00:00
|
|
|
src/models/ohlcBar.js \
|
2012-05-24 07:35:55 +00:00
|
|
|
src/models/pie.js \
|
2012-06-28 23:16:23 +00:00
|
|
|
src/models/pieChart.js \
|
2012-03-20 23:43:21 +00:00
|
|
|
src/models/scatter.js \
|
2012-06-15 23:48:03 +00:00
|
|
|
src/models/scatterChart.js \
|
2012-10-15 12:44:15 +00:00
|
|
|
src/models/scatterPlusLineChart.js \
|
2012-03-20 23:43:21 +00:00
|
|
|
src/models/sparkline.js \
|
2012-05-26 17:26:47 +00:00
|
|
|
src/models/sparklinePlus.js \
|
2012-04-03 15:20:55 +00:00
|
|
|
src/models/stackedArea.js \
|
2012-06-14 18:42:40 +00:00
|
|
|
src/models/stackedAreaChart.js \
|
2012-03-20 23:43:21 +00:00
|
|
|
src/outro.js
|
|
|
|
|
|
|
|
JS_COMPILER = \
|
|
|
|
uglifyjs
|
|
|
|
|
|
|
|
all: nv.d3.js nv.d3.min.js
|
|
|
|
nv.d3.js: $(JS_FILES)
|
|
|
|
nv.d3.min.js: $(JS_FILES)
|
|
|
|
|
|
|
|
nv.d3.js: Makefile
|
|
|
|
rm -f $@
|
|
|
|
cat $(filter %.js,$^) >> $@
|
|
|
|
|
|
|
|
%.min.js:: Makefile
|
|
|
|
rm -f $@
|
2013-02-11 12:27:31 +00:00
|
|
|
$(JS_COMPILER) nv.d3.js >> $@
|
2012-03-20 23:43:21 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf nv.d3.js nv.d3.min.js
|
|
|
|
|
|
|
|
|