summaryrefslogtreecommitdiffstats
path: root/jquery/Makefile
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2013-05-12 13:04:34 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2013-05-12 13:04:34 (GMT)
commit7b57ba3ce34b08841026da979dd9139f08033800 (patch)
tree97f0e23b93d45b7917d965e6d1bb70da6c61831a /jquery/Makefile
parent465c47b8d0e945f9911c579c0c93deaf87c20fd6 (diff)
downloadDoxygen-7b57ba3ce34b08841026da979dd9139f08033800.zip
Doxygen-7b57ba3ce34b08841026da979dd9139f08033800.tar.gz
Doxygen-7b57ba3ce34b08841026da979dd9139f08033800.tar.bz2
Release-1.8.3.1-20130512
Diffstat (limited to 'jquery/Makefile')
-rw-r--r--jquery/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/jquery/Makefile b/jquery/Makefile
new file mode 100644
index 0000000..83a302b
--- /dev/null
+++ b/jquery/Makefile
@@ -0,0 +1,42 @@
+JQUERY_VERSION = 1.7.1
+JQUERY_UI_VERSION = 1.8.18
+HASHCHANGE_VERSION = 1.3
+SCROLL_VERSION = 1.4.2
+MINIFIER = /usr/local/bin/yuicompressor-2.4.7
+SCRIPTS = jquery-$(JQUERY_VERSION).js \
+ jquery.ui-$(JQUERY_UI_VERSION).core.js \
+ jquery.ui-$(JQUERY_UI_VERSION).widget.js \
+ jquery.ui-$(JQUERY_UI_VERSION).mouse.js \
+ jquery.ui-$(JQUERY_UI_VERSION).resizable.js \
+ jquery.ba-$(HASHCHANGE_VERSION)-hashchange.js \
+ jquery.scrollTo-$(SCROLL_VERSION).js
+RESULTS = jquery_p1.js jquery_p2.js jquery_p3.js jquery_ui.js jquery_fx.js
+
+SCRIPTS_MIN = $(SCRIPTS:%.js=%-min.js)
+
+all: $(RESULTS)
+
+install: $(RESULTS)
+ cp $(RESULTS) ../src/
+
+jquery_ui.js: scripts
+ cat jquery.ui-$(JQUERY_UI_VERSION).core-min.js \
+ jquery.ui-$(JQUERY_UI_VERSION).widget-min.js \
+ jquery.ui-$(JQUERY_UI_VERSION).mouse-min.js \
+ jquery.ui-$(JQUERY_UI_VERSION).resizable-min.js \
+ jquery.ba-$(HASHCHANGE_VERSION)-hashchange-min.js > jquery_ui.js
+
+jquery_fx.js: scripts
+ cat jquery.scrollTo-$(SCROLL_VERSION)-min.js > jquery_fx.js
+
+jquery_p1.js jquery_p2.js jquery_p3.js: scripts
+ perl split_jquery.pl jquery-$(JQUERY_VERSION)-min.js $@
+
+scripts: $(SCRIPTS_MIN)
+
+clean:
+ rm -f $(SCRIPTS_MIN) $(RESULTS)
+
+%-min.js: %.js
+ java -jar $(MINIFIER).jar --line-break 13000 $^ > $@
+