[Pkg-javascript-commits] [SCM] mootools branch, master, updated. debian/1.2.4-13-gb80436d
Marcelo Jorge Vieira
metal at alucinados.com
Fri Oct 1 18:56:18 UTC 2010
The following commit has been merged in the master branch:
commit 9fca6c13cd64afd41892d116eaf6677785f297d4
Author: Marcelo Jorge Vieira <metal at alucinados.com>
Date: Fri Oct 1 11:16:04 2010 -0300
Generating mootools minified files from source
Using yui-compressor to do it.
diff --git a/debian/control b/debian/control
index b13771a..0048c8d 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.9.1
Homepage: http://www.mootools.net
Vcs-Browser: http://git.debian.org/?p=pkg-javascript/mootools.git
diff --git a/debian/links b/debian/links
index aa1fa9c..2d6286a 100644
--- a/debian/links
+++ b/debian/links
@@ -1,2 +1,11 @@
-/usr/share/javascript/mootools/mootools-core-nc.js /usr/share/javascript/mootools/mootools.js
-/usr/share/javascript/mootools/mootools-more-nc.js /usr/share/javascript/mootools/mootools-more.js
+/usr/share/javascript/mootools/mootools-core.min.js /usr/share/javascript/mootools/mootools.js
+/usr/share/javascript/mootools/mootools-core.min.js /usr/share/javascript/mootools/mootools-core-jm.js
+/usr/share/javascript/mootools/mootools-core.min.js /usr/share/javascript/mootools/mootools-core-yc.js
+
+/usr/share/javascript/mootools/mootools-core-server.min.js /usr/share/javascript/mootools/mootools-server.js
+/usr/share/javascript/mootools/mootools-core-server.min.js /usr/share/javascript/mootools/mootools-core-server-jm.js
+/usr/share/javascript/mootools/mootools-core-server.min.js /usr/share/javascript/mootools/mootools-core-server-yc.js
+
+/usr/share/javascript/mootools/mootools-more.min.js /usr/share/javascript/mootools/mootools-more.js
+/usr/share/javascript/mootools/mootools-more-min.js /usr/share/javascript/mootools/mootools-more-jm.js
+/usr/share/javascript/mootools/mootools-more-min.js /usr/share/javascript/mootools/mootools-more-yc.js
diff --git a/debian/rules b/debian/rules
index cbe925d..d37e52c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,13 @@
#!/usr/bin/make -f
%:
dh $@
+
+override_dh_auto_build:
+ yui-compressor mootools-core/mootools-core-nc.js -o mootools-core/mootools-core.min.js
+ yui-compressor mootools-core/mootools-core-server-nc.js -o mootools-core/mootools-core-server.min.js
+ yui-compressor mootools-more/mootools-more-nc.js -o mootools-more/mootools-more.min.js
+
+override_dh_auto_clean:
+ rm -f mootools-core/mootools-core.min.js
+ rm -f mootools-core/mootools-core-server.min.js
+ rm -f mootools-more/mootools-more.min.js
--
mootools
More information about the Pkg-javascript-commits
mailing list