[Pkg-osm-commits] [SCM] openlayers branch, master, updated. debian/2.11+ds1-1-8-g394b0c1
David Paleino
dapal at debian.org
Sun Oct 9 13:51:26 UTC 2011
The following commit has been merged in the master branch:
commit 394b0c1234ef54a004e6dbaf2f5dbc2576b16d7b
Author: David Paleino <dapal at debian.org>
Date: Sun Oct 9 15:51:18 2011 +0200
Fix javascript compression
diff --git a/debian/rules b/debian/rules
index b03c1df..e050dfe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,10 +13,8 @@ UPVER=$(shell echo $(DEBVER) | cut -d+ -f1)
override_dh_auto_build:
dh_auto_build
- ( cd build ; \
- ./build.py ; \
- uglifyjs -o min.js OpenLayers.js ; \
- cat license.txt min.js > OpenLayers.min.js )
+ cd build && ./build.py
+ uglifyjs -o build/OpenLayers.min.js build/OpenLayers.js
mkdir gendoc
naturaldocs -i lib/ -o HTML gendoc/ -p doc_config/ -s Default OL
--
JavaScript library for displaying map data in web browsers
More information about the Pkg-osm-commits
mailing list