[Pkg-javascript-commits] [SCM] Jquery packages branch, master, updated. debian/1.4.1-1-5-gcc9bfa1

Marcelo Jorge Vieira (metal) metal at alucinados.com
Tue Mar 16 01:04:19 UTC 2010


The following commit has been merged in the master branch:
commit 41e2a937ac7112354d58678fca59bead5f56de46
Author: Marcelo Jorge Vieira (metal) <metal at alucinados.com>
Date:   Mon Mar 15 21:44:20 2010 -0300

    Generating jquery minified from source (Closes: #571786)
    
    Using yui-compressor to do it

diff --git a/debian/control b/debian/control
index 79f7e50..c0464d8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: web
 Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Marcelo Jorge Vieira (metal) <metal at debian.org>, Steve Kemp <skx at debian.org>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7), yui-compressor
 Standards-Version: 3.8.4
 Homepage: http://jquery.com/
 Vcs-Browser: http://git.debian.org/?p=pkg-javascript/jquery.git
diff --git a/debian/install b/debian/install
index dc7e691..68854f7 100644
--- a/debian/install
+++ b/debian/install
@@ -1 +1 @@
-dist/jquery.js		/usr/share/javascript/jquery
+dist/*.js		/usr/share/javascript/jquery
diff --git a/debian/links b/debian/links
index 16a4480..24a7630 100644
--- a/debian/links
+++ b/debian/links
@@ -1,3 +1,2 @@
-/usr/share/javascript/jquery/jquery.js	/usr/share/javascript/jquery/jquery.min.js
-/usr/share/javascript/jquery/jquery.js	/usr/share/javascript/jquery/jquery.pack.js
-/usr/share/javascript/jquery/jquery.js	/usr/share/javascript/jquery/jquery.lite.js
+/usr/share/javascript/jquery/jquery.min.js	/usr/share/javascript/jquery/jquery.pack.js
+/usr/share/javascript/jquery/jquery.min.js	/usr/share/javascript/jquery/jquery.lite.js
diff --git a/debian/rules b/debian/rules
index cbe925d..5b95272 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,9 @@
 #!/usr/bin/make -f
 %:
 	dh $@
+
+override_dh_auto_build:
+	`yui-compressor dist/jquery.js -o dist/jquery.min.js`
+
+override_dh_auto_clean:
+	rm -f dist/jquery.min.js

-- 
Jquery packages



More information about the Pkg-javascript-commits mailing list