[Git][debian-gis-team/saga][master] Use execute_{before,after} instead of override in rules file.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sun Aug 13 14:56:01 BST 2023
Bas Couwenberg pushed to branch master at Debian GIS Project / saga
Commits:
609566a8 by Bas Couwenberg at 2023-08-13T15:45:55+02:00
Use execute_{before,after} instead of override in rules file.
- - - - -
3 changed files:
- debian/changelog
- + debian/clean
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+saga (9.1.1+dfsg-2) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Use execute_{before,after} instead of override in rules file.
+
+ -- Bas Couwenberg <sebastic at debian.org> Sun, 13 Aug 2023 15:01:42 +0200
+
saga (9.1.1+dfsg-1) unstable; urgency=medium
* Team upload.
=====================================
debian/clean
=====================================
@@ -0,0 +1,4 @@
+saga-gis/src/saga_core/saga_api/saga_api.py
+saga-gis/src/saga_core/saga_gui/git_hash.h
+
+saga_*.1
=====================================
debian/rules
=====================================
@@ -14,9 +14,6 @@ UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
%:
dh $@ --with python3 --buildsystem=cmake --sourcedirectory=saga-gis --without autoreconf
-override_dh_clean:
- dh_clean src/saga_core/saga_api/saga_api.py saga_cmd.1 saga_gui.1
-
override_dh_auto_configure:
dh_auto_configure -- \
-DWITH_SYSTEM_SVM=on \
@@ -24,14 +21,11 @@ override_dh_auto_configure:
-DWITH_TRIANGLE=off \
-DWITH_FIRE_SPREADING=off
-override_dh_auto_build:
+execute_before_dh_auto_build:
pod2man --section=1 --release=$(UPSTREAM_VERSION) --center " " debian/saga_gui.pod > saga_gui.1
pod2man --section=1 --release=$(UPSTREAM_VERSION) --center " " debian/saga_cmd.pod > saga_cmd.1
- dh_auto_build
-
-override_dh_auto_install:
- dh_auto_install
+execute_after_dh_auto_install:
# Remove executable bit from resource files
chmod -x debian/*/usr/share/saga/*.*
View it on GitLab: https://salsa.debian.org/debian-gis-team/saga/-/commit/609566a82259d612713cd1a86c2ec5a7438c434e
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/saga/-/commit/609566a82259d612713cd1a86c2ec5a7438c434e
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/85e12f77/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list