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 <[email protected]> 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,@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.
_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel