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

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sun Aug 13 16:46:00 BST 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / spatialite-tools


Commits:
558b2b8a by Bas Couwenberg at 2023-08-13T17:38:17+02:00
Use execute_before instead of override in rules file.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+spatialite-tools (5.1.0-2) UNRELEASED; urgency=medium
+
+  * Use execute_before instead of override in rules file.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 13 Aug 2023 17:38:04 +0200
+
 spatialite-tools (5.1.0-1) unstable; urgency=medium
 
   * Move from experimental to unstable.


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


=====================================
debian/rules
=====================================
@@ -29,17 +29,12 @@ versions:
 	@echo "Spatialite full version: $(FULL_VERSION)"
 	@echo "Spatialite version: $(LC_VERSION)"
 
-override_dh_clean:
-	dh_clean debian/man/*.1
-
 override_dh_auto_configure:
 	dh_auto_configure -- $(shell dpkg-buildflags --export=configure)
 
-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



View it on GitLab: https://salsa.debian.org/debian-gis-team/spatialite-tools/-/commit/558b2b8ad54535fe8093506b66f731e489679914

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/spatialite-tools/-/commit/558b2b8ad54535fe8093506b66f731e489679914
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/20230813/dc002ae6/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list