1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
execute_after_dh_auto_build:
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
execute_after_dh_install:
# Remove executable bit
chmod 644 debian/*/usr/share/openlayers/img/*.png
override_dh_compress:
dh_compress -Xexamples
|