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

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sun Aug 13 07:03:38 BST 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / osm2pgrouting


Commits:
dd49f6f7 by Bas Couwenberg at 2023-08-13T08:01:45+02:00
Use execute_{before,after} instead of override in rules file.

- - - - -


3 changed files:

- debian/changelog
- + debian/clean
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -3,6 +3,7 @@ osm2pgrouting (2.3.8-3) UNRELEASED; urgency=medium
   * Enable Salsa CI.
   * Bump Standards-Version to 4.6.2, no changes.
   * Bump debhelper compat to 13.
+  * Use execute_{before,after} instead of override in rules file.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 08 Jan 2023 15:18:21 +0100
 


=====================================
debian/clean
=====================================
@@ -0,0 +1 @@
+debian/man/*.1


=====================================
debian/rules
=====================================
@@ -16,21 +16,14 @@ MANPAGES := $(wildcard debian/man/*.*.xml)
 %:
 	dh $@
 
-override_dh_clean:
-	dh_clean debian/man/*.1
-
-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_auto_install:
-	dh_auto_install
-
+execute_after_dh_auto_install:
 	# Don't install extra license file
 	$(RM) debian/*/usr/share/osm2pgrouting/COPYING
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/osm2pgrouting/-/commit/dd49f6f7c1a4dd6b83851dfa2b041b2ef6ca7db1

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/osm2pgrouting/-/commit/dd49f6f7c1a4dd6b83851dfa2b041b2ef6ca7db1
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/c215a5ae/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list