[Pkg-javascript-commits] [SCM] explorercanvas branch, master, updated. b3644cb5eb747c1ab583951b3a62beacad85521e

Marcelo Jorge Vieira (metal) metal at alucinados.com
Wed Jun 2 15:55:53 UTC 2010


The following commit has been merged in the master branch:
commit 0f7b3db7781fb35512b59360f4ce6014cdb22729
Author: Marcelo Jorge Vieira (metal) <metal at alucinados.com>
Date:   Tue Jun 1 23:51:55 2010 -0300

    Generating compressed files from source
    
    Using yui-compressor to do it

diff --git a/debian/control b/debian/control
index 348a62f..fc545d6 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>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7.0.50~), yui-compressor
 Standards-Version: 3.8.4
 Homepage: http://code.google.com/p/explorercanvas/
 Vcs-Browser: http://git.debian.org/?p=pkg-javascript/explorercanvas.git
diff --git a/debian/libjs-excanvas.links b/debian/libjs-excanvas.links
new file mode 100644
index 0000000..8f80ab8
--- /dev/null
+++ b/debian/libjs-excanvas.links
@@ -0,0 +1 @@
+/usr/share/javascript/excanvas/excanvas.min.js  /usr/share/javascript/excanvas/excanvas.compiled.js
diff --git a/debian/rules b/debian/rules
index cbe925d..9f22937 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,9 @@
 #!/usr/bin/make -f
 %:
 	dh $@
+
+override_dh_auto_build:
+	yui-compressor excanvas.js -o excanvas.min.js;
+
+override_dh_auto_clean:
+	rm -f *.min.js

-- 
explorercanvas



More information about the Pkg-javascript-commits mailing list