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

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



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


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

- - - - -


4 changed files:

- debian/changelog
- + debian/clean
- + debian/not-installed
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -2,6 +2,7 @@ readosm (1:1.1.0a+dfsg-3) UNRELEASED; urgency=medium
 
   * 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>  Wed, 18 Jan 2023 17:18:36 +0100
 


=====================================
debian/clean
=====================================
@@ -0,0 +1,2 @@
+html/
+latex/


=====================================
debian/not-installed
=====================================
@@ -0,0 +1 @@
+usr/lib/*/*.la


=====================================
debian/rules
=====================================
@@ -14,22 +14,12 @@ UPSTREAM_VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
 %:
 	dh $@
 
-override_dh_clean:
-	dh_clean
-	rm -rf html/ latex/
-
-override_dh_auto_build:
-	dh_auto_build
+execute_after_dh_auto_build:
 	doxygen
 
-override_dh_install:
+execute_before_dh_install:
 	# Remove useless autogenreated doxygen files
 	rm -f html/*.md5
 
-	# Remove .la files
-	find debian/tmp/usr/lib/ -type f -name "*.la" -delete
-
-	dh_install
-
 override_dh_makeshlibs:
 	dh_makeshlibs -- -v$(UPSTREAM_VERSION)



View it on GitLab: https://salsa.debian.org/debian-gis-team/readosm/-/commit/8eaa9af5a9eb6d041000747b434bf7f48c85924a

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/readosm/-/commit/8eaa9af5a9eb6d041000747b434bf7f48c85924a
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/e02f7c5e/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list