diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-03-15 21:01:13 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-03-17 13:49:41 -0400 |
commit | 6542c080060eff5569505fa1027cd79a692e5b7d (patch) | |
tree | d70194d0b64876921a887b211db574662ffbd752 /Makefile | |
parent | 91d57287d3f5dac2da7f359817cf15f69ff94b05 (diff) |
jarmon-dependencies
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -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 ., ,$*))/$*' |