From 6542c080060eff5569505fa1027cd79a692e5b7d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 15 Mar 2018 21:01:13 -0400 Subject: jarmon-dependencies --- .gitignore | 1 + Makefile | 33 +++++++++++++++++++++++++++++++++ public-src/index.html.gen | 10 +++++----- 3 files changed, 39 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 56cfb60..dd877c0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /bin/ /public/ +/public-src/jarmon-dependencies/ NET-* .sass-cache diff --git a/Makefile b/Makefile index baab91e..df1528c 100644 --- a/Makefile +++ b/Makefile @@ -55,3 +55,36 @@ public/%.html.part: public/%.pem bin/%-pem2html public-src/jarmon-depenencies: jarmon/docs/examples/assets/js/dependencies.js jarmon/docs/examples/assets/js/dependencies.js: FORCE $(MAKE) -C jarmon docs/examples/assets/js/dependencies.js + +jquery-ver=1.6.3 +flot-ver=0.8.3 +jsrrd-ver=1.1.1 +jquerytools-ver=8ac4636a01d3860f1c4726ba722190a531bf1068 + +jarmon-dependencies: public-src/jarmon-dependencies/jquery-$(jquery-ver).js +jarmon-dependencies: public-src/jarmon-dependencies/flot-$(flot-ver)/excanvas.js +jarmon-dependencies: public-src/jarmon-dependencies/flot-$(flot-ver)/jquery.flot.js +jarmon-dependencies: public-src/jarmon-dependencies/flot-$(flot-ver)/jquery.flot.time.js +jarmon-dependencies: public-src/jarmon-dependencies/flot-$(flot-ver)/jquery.flot.stack.js +jarmon-dependencies: public-src/jarmon-dependencies/flot-$(flot-ver)/jquery.flot.selection.js +jarmon-dependencies: public-src/jarmon-dependencies/javascriptrrd-$(jsrrd-ver)/rrdFile.js +jarmon-dependencies: public-src/jarmon-dependencies/javascriptrrd-$(jsrrd-ver)/binaryXHR.js +jarmon-dependencies: public-src/jarmon-dependencies/jquerytools-$(jquerytools-ver)/dateinput.js +jarmon-dependencies: public-src/jarmon-dependencies/jquerytools-$(jquerytools-ver)/tabs.js +jarmon-dependencies: public-src/jarmon-dependencies/jquerytools-$(jquerytools-ver)/toolbox.history.js + +public-src/jarmon-dependencies/jquery-%.js: + @mkdir -p '$(@D)' + wget -O $@ 'http://code.jquery.com/jquery-$*.js' +public-src/jarmon-dependencies/flot-%.tar.gz: + @mkdir -p '$(@D)' + wget -O $@ 'https://github.com/flot/flot/archive/v$*.tar.gz' +public-src/jarmon-dependencies/flot-$(flot-ver)/%: public-src/jarmon-dependencies/flot-$(flot-ver).tar.gz + @mkdir -p '$(@D)' + bsdtar -xOf $< flot-$(flot-ver)/$* > $@ +public-src/jarmon-dependencies/javascriptrrd-$(jsrrd-ver)/%: + @mkdir -p '$(@D)' + wget -O $@ 'https://git.lukeshu.com/2git/javascriptrrd/plain/src/lib/$*?id=v$(jsrrd-ver)' +public-src/jarmon-dependencies/jquerytools-$(jquerytools-ver)/%: + @mkdir -p '$(@D)' + wget -O $@ 'https://raw.githubusercontent.com/jquerytools/jquerytools/$(jquerytools-ver)/src/$(firstword $(subst ., ,$*))/$*' diff --git a/public-src/index.html.gen b/public-src/index.html.gen index c43beec..2533955 100755 --- a/public-src/index.html.gen +++ b/public-src/index.html.gen @@ -28,11 +28,11 @@ echo ' - - - - - + + + + + -- cgit v1.2.3-2-g168b