[Git][debian-gis-team/openlayers][master] Use execute_after instead of override in rules file.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sun Aug 13 07:00:30 BST 2023
Bas Couwenberg pushed to branch master at Debian GIS Project / openlayers
Commits:
b8550891 by Bas Couwenberg at 2023-08-13T07:58:07+02:00
Use execute_after instead of override in rules file.
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -5,6 +5,7 @@ openlayers (2.13.1+ds2-11) UNRELEASED; urgency=medium
* Use packaging.version instead of distutils.version.
* Bump debhelper compat to 13.
* Remove generated files in clean target.
+ * Use execute_after instead of override in rules file.
-- Bas Couwenberg <sebastic at debian.org> Wed, 18 Jan 2023 17:03:49 +0100
=====================================
debian/rules
=====================================
@@ -7,9 +7,7 @@
%:
dh $@
-override_dh_auto_build:
- dh_auto_build
-
+execute_after_dh_auto_build:
cd build && ./build.py full.cfg OpenLayers.js
uglifyjs -o build/OpenLayers.min.js build/OpenLayers.js
@@ -25,9 +23,7 @@ override_dh_auto_build:
cd build && ./build.py tests.cfg OpenLayers.tests.js
uglifyjs -o build/OpenLayers.tests.min.js build/OpenLayers.tests.js
-override_dh_install:
- dh_install
-
+execute_after_dh_install:
# Remove executable bit
chmod 644 debian/*/usr/share/openlayers/img/*.png
View it on GitLab: https://salsa.debian.org/debian-gis-team/openlayers/-/commit/b855089140ff45b75e15db90547aa6d9dbc8e457
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/openlayers/-/commit/b855089140ff45b75e15db90547aa6d9dbc8e457
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20230813/122b537b/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list