[Git][debian-gis-team/geographiclib][master] Use not-installed file instead of dh_install override.

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



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


Commits:
d8dc5c3f by Bas Couwenberg at 2023-08-12T11:07:26+02:00
Use not-installed file instead of dh_install override.

- - - - -


3 changed files:

- debian/changelog
- + debian/not-installed
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,6 +1,7 @@
 geographiclib (2.3-2) UNRELEASED; urgency=medium
 
   * Remove generated files in clean target.
+  * Use not-installed file instead of dh_install override.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 11 Aug 2023 10:27:16 +0200
 


=====================================
debian/not-installed
=====================================
@@ -0,0 +1 @@
+usr/lib/*/*.la


=====================================
debian/rules
=====================================
@@ -10,15 +10,10 @@ UPSTREAM_VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
 %:
 	dh $@ --with pkgkde_symbolshelper
 
-override_dh_install:
+execute_before_dh_install:
 	# Remove duplicate license information
 	$(RM) debian/tmp/usr/share/doc/geographiclib/html/LICENSE.txt
 
-	# Remove .la files
-	$(RM) debian/tmp/usr/lib/*/*.la
-
-	dh_install
-
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/geographiclib/-/commit/d8dc5c3f6ae64f87133067c36e7f2f7f62de412a

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


More information about the Pkg-grass-devel mailing list