summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sfiligoi <isfiligoi@ucsd.edu>2013-11-07 18:28:44 +0000
committerIgor Sfiligoi <isfiligoi@ucsd.edu>2013-11-07 18:28:44 +0000
commit5ff56c69f85d42da5a4a69280a09c7a91b4b488b (patch)
tree28dd1b3f42b055308a4a2302de88129d83c1d447
parentc49de30b52229306dd17a396e747bc163c324be3 (diff)
Add support for v0.8 Flot
-rw-r--r--src/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index e61f5eb..3f50427 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -19,9 +19,19 @@ lib/javascriptrrd.js: \
wlibs: lib/javascriptrrd.wlibs.js
lib/javascriptrrd.wlibs.js: lib/javascriptrrd.js \
- ../flot/jquery.min.js ../flot/jquery.flot.min.js \
- ../flot/jquery.flot.selection.min.js ../flot/jquery.flot.tooltip.js
+ ../flot/jquery.min.js ../flot/jquery.flot.min.js ../flot/jquery.flot.time.min.js \
+ ../flot/jquery.flot.selection.min.js ../flot/jquery.flot.canvas.min.js ../flot/jquery.flot.tooltip.min.js
cat $^ > $@
+#the flot.time lnd flout.canvas ibraries only got added in v0.8 flot
+#create an empty file if it does not exist for consistency
+../flot/jquery.flot.time.min.js:
+ touch -a ../flot/jquery.flot.time.min.js
+ touch -a ../flot/jquery.flot.time.js
+
+../flot/jquery.flot.canvas.min.js:
+ touch -a ../flot/jquery.flot.canvas.min.js
+ touch -a ../flot/jquery.flot.canvas.js
+
clean:
rm -f lib/javascriptrrd.js lib/javascriptrrd.wlibs.js