[Pkg-javascript-commits] [SCM] jqueryui branch, master, updated. debian/1.7.1-1-27-g872a217
Marcelo Jorge Vieira (metal)
metal at alucinados.com
Mon Apr 19 18:36:05 UTC 2010
The following commit has been merged in the master branch:
commit 9da1db21ab9aa0253f8bfa218f53cf8d14b82473
Author: Marcelo Jorge Vieira (metal) <metal at alucinados.com>
Date: Sun Apr 18 20:57:15 2010 -0300
Generating jquery-ui minified files from source
Using yui-compressor to do it
diff --git a/debian/control b/debian/control
index 3f997a1..58e4ba6 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: Walter Cruz <walter at waltercruz.com>, Marcelo Jorge Vieira (metal) <metal at debian.org>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7.0.50~)
Standards-Version: 3.8.4
Homepage: http://jqueryui.com/
Vcs-Browser: http://git.debian.org/?p=pkg-javascript/jqueryui.git
diff --git a/debian/libjs-jquery-ui.install b/debian/libjs-jquery-ui.install
index 3c50964..8c359ac 100644
--- a/debian/libjs-jquery-ui.install
+++ b/debian/libjs-jquery-ui.install
@@ -1,4 +1,5 @@
-js/jquery-ui-*.custom.min.js /usr/share/javascript/jquery-ui
+build/*.js /usr/share/javascript/jquery-ui
css/ /usr/share/javascript/jquery-ui
development-bundle/themes /usr/share/javascript/jquery-ui
development-bundle/ui /usr/share/javascript/jquery-ui
+build/*.css /usr/share/javascript/jquery-ui/css/smoothness/
diff --git a/debian/rules b/debian/rules
index ea9f360..8a3d0f9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,20 @@
#!/usr/bin/make -f
PKG_PATH:=/usr/share/javascript/jquery-ui
-JS_FILE:=$$(basename js/jquery-ui-*.custom.min.js)
+JS_FILE:=$$(basename development-bundle/ui/jquery-ui-*.custom.js)
CSS_FILE:=$$(basename css/smoothness/jquery-ui-*.custom.css)
DH_LINKS_FILE:=debian/libjs-jquery-ui.links
+BUILD_DIR:=build
+
+override_dh_auto_build:
+ mkdir $(BUILD_DIR)
+ yui-compressor development-bundle/ui/jquery-ui-*.custom.js -o $(BUILD_DIR)/jquery-ui.min.js
+ yui-compressor css/smoothness/jquery-ui-*.custom.css -o $(BUILD_DIR)/jquery-ui.min.css
clean:
dh clean
rm -f $(DH_LINKS_FILE)
+ rm -rf $(BUILD_DIR)
build: build-arch build-indep
--
jqueryui
More information about the Pkg-javascript-commits
mailing list