[Git][debian-gis-team/nik4][master] Use execute_{before,after} instead of override in rules file.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sun Aug 13 06:53:59 BST 2023
Bas Couwenberg pushed to branch master at Debian GIS Project / nik4
Commits:
6d3f55c5 by Bas Couwenberg at 2023-08-13T07:51:58+02:00
Use execute_{before,after} instead of override in rules file.
- - - - -
3 changed files:
- debian/changelog
- + debian/clean
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -4,6 +4,7 @@ nik4 (1.7-3) UNRELEASED; urgency=medium
* Add patch to not use deprecated distutils module.
* Add pybuild-plugin-pyproject to build dependencies.
* Bump debhelper compat to 13.
+ * Use execute_{before,after} instead of override in rules file.
-- Bas Couwenberg <sebastic at debian.org> Wed, 18 Jan 2023 17:03:36 +0100
=====================================
debian/clean
=====================================
@@ -0,0 +1 @@
+*-info/
=====================================
debian/rules
=====================================
@@ -11,15 +11,12 @@ MANPAGES := $(wildcard debian/man/*.*.xml)
%:
dh $@ --buildsystem=pybuild --with python3
-override_dh_auto_build:
+execute_before_dh_auto_build:
# Create man page from DocBook XML
for x in $(MANPAGES) ; do \
docbook2x-man --string-param header-3="$(BUILD_DATE)" $$x ; \
mv `basename $$x | sed 's/.xml$$//'` `dirname $$x` ; \
done
- dh_auto_build
-
-override_dh_install:
- dh_install
+execute_after_dh_install:
mv debian/nik4/usr/bin/nik4.py debian/nik4/usr/bin/nik4
View it on GitLab: https://salsa.debian.org/debian-gis-team/nik4/-/commit/6d3f55c50ac41b08e7650e271335789ad8aa326d
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/nik4/-/commit/6d3f55c50ac41b08e7650e271335789ad8aa326d
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/cef5272e/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list