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

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sat Aug 12 12:20:39 BST 2023



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


Commits:
f7596a1b by Bas Couwenberg at 2023-08-12T12:59:54+02:00
Use execute_{before,after} instead of override in rules file.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+libhdf4 (4.2.16-4) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Use execute_{before,after} instead of override in rules file.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 12 Aug 2023 12:59:40 +0200
+
 libhdf4 (4.2.16-3) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/rules
=====================================
@@ -52,9 +52,8 @@ templates:
 %:
 	dh $@
 
-override_dh_clean:
+execute_before_dh_clean:
 	$(RM) -r HDF$(RELEASE) HDF4 HDF4_ALT $(DESTDIR_ALT)
-	dh_clean
 
 override_dh_auto_clean:
 	if [ -e HDF4 ]; then \
@@ -198,8 +197,7 @@ override_dh_install:
 
 	$(RM) -r $(CURDIR)/debian/tmp
 
-override_dh_installman:
-	dh_installman
+execute_after_dh_installman:
 	$(RM) $(CURDIR)/debian/hdf4-tools/usr/share/man/man1/hdf.1
 
 override_dh_makeshlibs:



View it on GitLab: https://salsa.debian.org/debian-gis-team/hdf4/-/commit/f7596a1b19943c7d2465767a534e060a7384525d

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


More information about the Pkg-grass-devel mailing list