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


Commits:
8eaa9af5 by Bas Couwenberg at 2023-08-13T14:45:41+02:00
Use execute_{before,after} instead of override in rules file.

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -2,6 +2,7 @@ readosm (1:1.1.0a+dfsg-3) UNRELEASED; urgency=medium
 
   * Bump Standards-Version to 4.6.2, no changes.
   * Bump debhelper compat to 13.
+  * Use execute_{before,after} instead of override in rules file.
 
  -- Bas Couwenberg <[email protected]>  Wed, 18 Jan 2023 17:18:36 +0100
 


=====================================
debian/clean
=====================================
@@ -0,0 +1,2 @@
+html/
+latex/


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


=====================================
debian/rules
=====================================
@@ -14,22 +14,12 @@ UPSTREAM_VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed 
-e 's/\+.*//')
 %:
        dh $@
 
-override_dh_clean:
-       dh_clean
-       rm -rf html/ latex/
-
-override_dh_auto_build:
-       dh_auto_build
+execute_after_dh_auto_build:
        doxygen
 
-override_dh_install:
+execute_before_dh_install:
        # Remove useless autogenreated doxygen files
        rm -f html/*.md5
 
-       # Remove .la files
-       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/readosm/-/commit/8eaa9af5a9eb6d041000747b434bf7f48c85924a

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/readosm/-/commit/8eaa9af5a9eb6d041000747b434bf7f48c85924a
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

Reply via email to