diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 33 | ||||
-rwxr-xr-x | public-src/index.html.gen | 10 |
3 files changed, 39 insertions, 5 deletions
@@ -1,5 +1,6 @@ /bin/ /public/ +/public-src/jarmon-dependencies/ NET-* .sass-cache @@ -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 '<!DOCTYPE html> <script src="./jarmon-dependencies/flot-0.8.3/jquery.flot.time.js"></script> <script src="./jarmon-dependencies/flot-0.8.3/jquery.flot.stack.js"></script> <script src="./jarmon-dependencies/flot-0.8.3/jquery.flot.selection.js"></script> - <script src="./jarmon-dependencies/rrdFile.js"></script> - <script src="./jarmon-dependencies/binaryXHR.js"></script> - <script src="./jarmon-dependencies/dateinput.js"></script> - <script src="./jarmon-dependencies/tabs.js"></script> - <script src="./jarmon-dependencies/toolbox.history.js"></script> + <script src="./jarmon-dependencies/javascriptrrd-1.1.1/rrdFile.js"></script> + <script src="./jarmon-dependencies/javascriptrrd-1.1.1/binaryXHR.js"></script> + <script src="./jarmon-dependencies/jquerytools-8ac4636a01d3860f1c4726ba722190a531bf1068/dateinput.js"></script> + <script src="./jarmon-dependencies/jquerytools-8ac4636a01d3860f1c4726ba722190a531bf1068/tabs.js"></script> + <script src="./jarmon-dependencies/jquerytools-8ac4636a01d3860f1c4726ba722190a531bf1068/toolbox.history.js"></script> <script src="jarmon.js"></script> <script src="config-jarmon-proton.js"></script> |