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

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sun Aug 13 13:52:49 BST 2023



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


Commits:
f059ae4d by Bas Couwenberg at 2023-08-13T14:49:43+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,9 @@
+routino (3.4.1-2) UNRELEASED; urgency=medium
+
+  * Use execute_{before,after} instead of override in rules file.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 13 Aug 2023 14:49:33 +0200
+
 routino (3.4.1-1) unstable; urgency=medium
 
   * New upstream release.


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


=====================================
debian/rules
=====================================
@@ -20,24 +20,17 @@ MANPAGES:=$(wildcard debian/man/*.*.xml)
 %:
 	dh $@
 
-override_dh_clean:
-	dh_clean debian/man/*.1
-
 override_dh_auto_clean:
 	dh_auto_clean || echo "Ignoring clean failure"
 
-override_dh_auto_build-arch:
+execute_before_dh_auto_build-arch:
 	# 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 -d $(CURDIR)/debian/tmp/usr/share/routino/www
 	cp -r web/www/routino/* $(CURDIR)/debian/tmp/usr/share/routino/www
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/routino/-/commit/f059ae4d17d3433601dcf046fe50a68ab78b4727

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/routino/-/commit/f059ae4d17d3433601dcf046fe50a68ab78b4727
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/5cecb530/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list