[Pkg-javascript-commits] [SCM] jscropperui - JavaScript Image Cropper UI branch, master, updated. 21688467d7890c34be4056326b90e8ccfccf0f49
Marcelo Jorge Vieira (metal)
metal at alucinados.com
Wed Jun 2 17:50:58 UTC 2010
The following commit has been merged in the master branch:
commit e0b65a93ab5b7d0a469c2295a936e2471b3187e9
Author: Marcelo Jorge Vieira (metal) <metal at alucinados.com>
Date: Wed Jun 2 13:30:28 2010 -0300
Generating compressed files from source
Using yui-compressor to do it
diff --git a/debian/control b/debian/control
index 9dd5ed5..c70cecc 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.deb
Uploaders:
Marcelo Jorge Vieira (metal) <metal at debian.org>,
Steve Kemp <skx at debian.org>
-Build-Depends: debhelper (>= 7.0.50~)
+Build-Depends: debhelper (>= 7.0.50~), yui-compressor
Standards-Version: 3.8.4
Homepage: http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/
Vcs-Browser: http://git.debian.org/?p=pkg-javascript/jscropperui.git
diff --git a/debian/libjs-cropper.links b/debian/libjs-cropper.links
new file mode 100644
index 0000000..9b66055
--- /dev/null
+++ b/debian/libjs-cropper.links
@@ -0,0 +1 @@
+/usr/share/javascript/cropper/cropper.min.js /usr/share/javascript/cropper/cropper.js
diff --git a/debian/rules b/debian/rules
index 000210b..6e36b5f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,9 @@
%:
dh ${@}
+
+override_dh_auto_build:
+ yui-compressor cropper.uncompressed.js -o cropper.min.js;
+
+override_dh_auto_clean:
+ rm -f *.min.js
--
jscropperui - JavaScript Image Cropper UI
More information about the Pkg-javascript-commits
mailing list