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

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



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


Commits:
d05219a4 by Bas Couwenberg at 2023-08-12T14:34:52+02:00
Use execute_before instead of override in rules file.

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -3,6 +3,7 @@ librasterlite2 (1.1.0~beta1-4) UNRELEASED; urgency=medium
   * Bump Standards-Version to 4.6.2, no changes.
   * Update obsolete freetype build dependency.
   * Bump debhelper compat to 13.
+  * Use execute_before instead of override in rules file.
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 18 Jan 2023 17:01:12 +0100
 


=====================================
debian/clean
=====================================
@@ -0,0 +1 @@
+debian/man/*.1


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


=====================================
debian/rules
=====================================
@@ -27,29 +27,20 @@ endif
 %:
 	dh $@
 
-override_dh_clean:
-	dh_clean debian/man/*.1
-
 override_dh_auto_configure:
 	dh_auto_configure -- --disable-charls
 
-override_dh_auto_build:
+execute_before_dh_auto_build:
 	# Create man page from DocBook XML
 	for x in $(MANPAGES) ; do \
 	    docbook2x-man --string-param header-3="$(BUILD_DATE)" $$x ; \
 	    mv `basename $$x | sed 's/.xml$$//'` `dirname $$x` ; \
 	done
 
-	dh_auto_build
-
 override_dh_auto_test:
 ifeq ($(CHECK), "check")
 	dh_auto_test --max-parallel=1 || echo "Ignoring test failures"
 endif
 
-override_dh_install:
-	find debian/tmp/usr/lib/ -type f -name "*.la" -delete
-	dh_install
-
 override_dh_makeshlibs:
 	dh_makeshlibs -- -v$(UPSTREAM_VERSION)



View it on GitLab: https://salsa.debian.org/debian-gis-team/librasterlite2/-/commit/d05219a4bda7af0bce91fd91e9f8f5cf31f043a3

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/librasterlite2/-/commit/d05219a4bda7af0bce91fd91e9f8f5cf31f043a3
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/9aaa94f3/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list