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

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sun Aug 13 08:57:45 BST 2023



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


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

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,6 +1,7 @@
 proj (9.2.1-2) UNRELEASED; urgency=medium
 
   * Bump debhelper compat to 13.
+  * Use execute_{before,after} instead of override in rules file.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 13 Jun 2023 06:03:31 +0200
 


=====================================
debian/rules
=====================================
@@ -29,9 +29,8 @@ datumgrids-stamp:
 		dh $@ --with pkgkde_symbolshelper ; \
 	fi
 
-override_dh_auto_clean:
+execute_before_dh_auto_clean:
 	( cd $(CURDIR)/data && cat $(CURDIR)/debian/datumgrids.list $(CURDIR)/debian/datumgrids-ch.list | xargs rm -f )
-	dh_auto_clean
 
 override_dh_auto_configure: datumgrids
 	dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
@@ -45,9 +44,7 @@ else
 	dh_auto_test
 endif
 
-override_dh_auto_install:
-	dh_auto_install
-	
+execute_after_dh_auto_install:
 	# Explicitly remove files
 	$(RM) $(CURDIR)/debian/*/usr/share/doc/proj/AUTHORS
 	$(RM) $(CURDIR)/debian/*/usr/share/doc/proj/COPYING



View it on GitLab: https://salsa.debian.org/debian-gis-team/proj/-/commit/613ce43ac1ca6016b74adf44bc6d7c77a2d6962e

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/proj/-/commit/613ce43ac1ca6016b74adf44bc6d7c77a2d6962e
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/6a0b3755/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list