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

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sat Aug 12 13:10:52 BST 2023



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


Commits:
f1e401d9 by Bas Couwenberg at 2023-08-12T14:00:52+02:00
Use execute_{before,after} instead of override in rules file.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -5,6 +5,7 @@ jts (1.19.0+ds-2) UNRELEASED; urgency=medium
   * Bump Standards-Version to 4.6.2, no changes.
   * Bump debhelper compat to 13.
   * Update lintian overrides.
+  * Use execute_{before,after} instead of override in rules file.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 27 Nov 2022 20:56:16 +0100
 


=====================================
debian/rules
=====================================
@@ -21,20 +21,16 @@ endif
 debian/maven.rules: debian/maven.rules.in
 	sed 's/@JSON_SIMPLE_MAVEN@/$(JSON_SIMPLE_MAVEN)/' $< >$@
 
-override_dh_auto_configure: debian/maven.rules
-	dh_auto_configure
-
-override_dh_auto_clean:
-	dh_auto_clean
-
+execute_after_dh_auto_clean:
 	find . -type f -name \*.java.json-simple \
 	  -exec sh -c 'file={} && mv $$file $${file%.json-simple}' \; -print
 
-override_dh_auto_build:
+override_dh_auto_configure: debian/maven.rules
+	dh_auto_configure
+
+execute_before_dh_auto_build:
 	find . -type f -name \*.java -exec grep -q 'import @JSON_SIMPLE_PACKAGE@' {} \; \
 	  -exec sed -i.json-simple \
 		    -e 's, at JSON_SIMPLE_PACKAGE@,$(JSON_SIMPLE_PACKAGE),' \
 		    -e 's/@JSON_EXCEPTION@/$(JSON_EXCEPTION)/' \
 		    {} \; -print
-
-	dh_auto_build



View it on GitLab: https://salsa.debian.org/debian-gis-team/jts/-/commit/f1e401d9721a128802b437580c7f1a05e281faea

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


More information about the Pkg-grass-devel mailing list