2012-03-20 23:43:21 +00:00
|
|
|
JS_FILES = \
|
|
|
|
src/intro.js \
|
|
|
|
src/core.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-03-20 23:43:21 +00:00
|
|
|
src/models/bar.js \
|
2012-05-24 07:35:55 +00:00
|
|
|
src/models/cumulativeLine.js \
|
|
|
|
src/models/legend.js \
|
2012-03-20 23:43:21 +00:00
|
|
|
src/models/line.js \
|
2012-05-24 07:35:55 +00:00
|
|
|
src/models/linePlusBar.js \
|
2012-03-20 23:43:21 +00:00
|
|
|
src/models/lineWithFocus.js \
|
|
|
|
src/models/lineWithLegend.js \
|
2012-05-24 07:35:55 +00:00
|
|
|
src/models/pie.js \
|
2012-03-20 23:43:21 +00:00
|
|
|
src/models/scatter.js \
|
|
|
|
src/models/scatterWithLegend.js \
|
|
|
|
src/models/sparkline.js \
|
2012-04-03 15:20:55 +00:00
|
|
|
src/models/stackedArea.js \
|
|
|
|
src/models/stackedAreaWithLegend.js \
|
2012-05-24 07:35:55 +00:00
|
|
|
src/charts/cumulativeLineChartDaily.js \
|
2012-04-08 06:59:44 +00:00
|
|
|
src/charts/lineChart.js \
|
2012-05-17 06:04:33 +00:00
|
|
|
src/charts/lineChartDaily.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 $@
|
|
|
|
cat $(filter %.js,$^) | $(JS_COMPILER) >> $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf nv.d3.js nv.d3.min.js
|
|
|
|
|
|
|
|
|