[openlayers] 41/41: Also build light, lite, mobile & tests variants.
Bas Couwenberg
sebastic at xs4all.nl
Fri Dec 26 02:41:51 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch master
in repository openlayers.
commit 8ef5ff955af091cfc8f491387da60a447faf611e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Dec 26 03:29:44 2014 +0100
Also build light, lite, mobile & tests variants.
---
debian/changelog | 1 +
debian/libjs-openlayers.install | 16 ++++++++++++----
debian/rules | 14 +++++++++++++-
3 files changed, 26 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 5dc2ae7..b44cc66 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ openlayers (2.13.1+ds1-1) UNRELEASED; urgency=low
use Files-Excluded to repack the upstream tarball.
* New upstream release.
* Update build-dependency for node-uglify.
+ * Also build light, lite, mobile & tests variants.
-- Bas Couwenberg <sebastic at xs4all.nl> Fri, 26 Dec 2014 03:05:26 +0100
diff --git a/debian/libjs-openlayers.install b/debian/libjs-openlayers.install
index cc87bf8..92b759b 100644
--- a/debian/libjs-openlayers.install
+++ b/debian/libjs-openlayers.install
@@ -1,4 +1,12 @@
-build/OpenLayers.js /usr/share/javascript/openlayers/
-build/OpenLayers.min.js /usr/share/javascript/openlayers/
-img/ /usr/share/openlayers/
-theme/ /usr/share/openlayers/
+build/OpenLayers.js /usr/share/javascript/openlayers/
+build/OpenLayers.min.js /usr/share/javascript/openlayers/
+build/OpenLayers.light.js /usr/share/javascript/openlayers/
+build/OpenLayers.light.min.js /usr/share/javascript/openlayers/
+build/OpenLayers.lite.js /usr/share/javascript/openlayers/
+build/OpenLayers.lite.min.js /usr/share/javascript/openlayers/
+build/OpenLayers.mobile.js /usr/share/javascript/openlayers/
+build/OpenLayers.mobile.min.js /usr/share/javascript/openlayers/
+build/OpenLayers.tests.js /usr/share/javascript/openlayers/
+build/OpenLayers.tests.min.js /usr/share/javascript/openlayers/
+img/ /usr/share/openlayers/
+theme/ /usr/share/openlayers/
diff --git a/debian/rules b/debian/rules
index 47d83f3..5e1e110 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,9 +13,21 @@ UPVER=$(shell echo $(DEBVER) | cut -d+ -f1)
override_dh_auto_build:
dh_auto_build
- cd build && ./build.py
+ cd build && ./build.py full.cfg OpenLayers.js
uglifyjs -o build/OpenLayers.min.js build/OpenLayers.js
+ cd build && ./build.py light.cfg OpenLayers.light.js
+ uglifyjs -o build/OpenLayers.light.min.js build/OpenLayers.light.js
+
+ cd build && ./build.py lite.cfg OpenLayers.lite.js
+ uglifyjs -o build/OpenLayers.lite.min.js build/OpenLayers.lite.js
+
+ cd build && ./build.py mobile.cfg OpenLayers.mobile.js
+ uglifyjs -o build/OpenLayers.mobile.min.js build/OpenLayers.mobile.js
+
+ cd build && ./build.py tests.cfg OpenLayers.tests.js
+ uglifyjs -o build/OpenLayers.tests.min.js build/OpenLayers.tests.js
+
mkdir gendoc
naturaldocs -i lib/ -o HTML gendoc/ -p doc_config/ -s Default OL
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/openlayers.git
More information about the Pkg-grass-devel
mailing list