[Git][debian-gis-team/mkgmap-splitter][master] Use execute_{before,after} instead of override in rules file.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sat Aug 12 21:14:58 BST 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / mkgmap-splitter


Commits:
e1207eb7 by Bas Couwenberg at 2023-08-12T22:11:10+02:00
Use execute_{before,after} instead of override in rules file.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -4,6 +4,7 @@ mkgmap-splitter (0.0.0+svn653-2) UNRELEASED; urgency=medium
   * Update URLs to use HTTPS.
   * Bump debhelper compat to 13.
   * Remove generated files in clean target.
+  * Use execute_{before,after} instead of override in rules file.
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 18 Jan 2023 17:02:41 +0100
 


=====================================
debian/rules
=====================================
@@ -11,16 +11,12 @@ MANPAGES:=$(wildcard debian/man/*.*.xml)
 %:
 	dh $@ --with javahelper
 
-override_dh_auto_build:
+execute_before_dh_auto_build:
 	# Create man pages 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_auto_install:
-	dh_auto_install
-
+execute_after_dh_auto_install:
 	install -m 755 debian/mkgmap-splitter.sh debian/mkgmap-splitter/usr/bin/mkgmap-splitter



View it on GitLab: https://salsa.debian.org/debian-gis-team/mkgmap-splitter/-/commit/e1207eb77dc23d2f1827b1ff021feaecdc7b2ac9

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/mkgmap-splitter/-/commit/e1207eb77dc23d2f1827b1ff021feaecdc7b2ac9
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/20230812/4520e581/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list