[Git][debian-gis-team/nco][master] Use execute_after instead of override in rules file.

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



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


Commits:
c2721f08 by Bas Couwenberg at 2023-08-12T22:19:09+02:00
Use execute_after instead of override in rules file.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,6 +1,7 @@
 nco (5.1.7-3) UNRELEASED; urgency=medium
 
   * Remove generated files in clean target.
+  * Use execute_after instead of override in rules file.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 11 Aug 2023 12:17:32 +0200
 


=====================================
debian/rules
=====================================
@@ -20,8 +20,7 @@ override_dh_auto_configure:
 		--enable-netcdf4 \
 		--enable-udunits2
 
-override_dh_auto_build:
-	dh_auto_build
+execute_after_dh_auto_build:
 	cd doc && $(MAKE) clean && $(MAKE) html
 	cd doc && $(MAKE) nco.info && sed -i 's/xmp\/fgr[0-9].png/\/usr\/share\/doc\/nco\/&/' nco.info*
 
@@ -29,8 +28,7 @@ override_dh_auto_test:
 	# currently the check phase badly fails
 	dh_auto_test || echo "Ignoring test failures"
 
-override_dh_auto_install:
-	dh_auto_install
+execute_after_dh_auto_install:
 	find $(CURDIR)/debian/nco -name '*.h' -delete
 	find $(CURDIR)/debian/nco -name '*.hh' -delete
 	$(RM) debian/nco/usr/lib/nco/libnco.la



View it on GitLab: https://salsa.debian.org/debian-gis-team/nco/-/commit/c2721f0864152c283a6269183164d2dc392fdccc

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/nco/-/commit/c2721f0864152c283a6269183164d2dc392fdccc
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/478ac4d6/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list