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

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



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


Commits:
2d287ca1 by Bas Couwenberg at 2023-08-12T13:28:45+02:00
Use execute_after instead of override in rules file.

- - - - -


3 changed files:

- debian/changelog
- + debian/clean
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -2,6 +2,7 @@ jmapviewer (2.16+dfsg-3) UNRELEASED; urgency=medium
 
   * Bump Standards-Version to 4.6.2, no changes.
   * Bump debhelper compat to 13.
+  * Use execute_after instead of override in rules file.
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 18 Jan 2023 16:59:43 +0100
 


=====================================
debian/clean
=====================================
@@ -0,0 +1,2 @@
+bin/*/
+jmapviewer.1


=====================================
debian/rules
=====================================
@@ -8,12 +8,6 @@ VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
 %:
 	dh $@
 
-override_dh_auto_clean:
-	rm -rf $(CURDIR)/bin/*
-	-rm -f jmapviewer.1
-
-	dh_auto_clean
-
 override_dh_auto_build:
 	xsltproc --nonet \
 	         --param make.year.ranges 1 \
@@ -24,9 +18,7 @@ override_dh_auto_build:
 
 	dh_auto_build -- build pack create_run_jar
 
-override_dh_auto_install:
-	dh_auto_install
-
+execute_after_dh_auto_install:
 	install -m 644 $(CURDIR)/JMapViewer.jar $(CURDIR)/debian/jmapviewer/usr/share/java/jmapviewer-${VERSION}.jar
 	dh_link usr/share/java/jmapviewer-${VERSION}.jar usr/share/java/jmapviewer.jar
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/jmapviewer/-/commit/2d287ca133a3d2f40dc763d59d5e1d3cea08e256

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/jmapviewer/-/commit/2d287ca133a3d2f40dc763d59d5e1d3cea08e256
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/6e481a71/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list