summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-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