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


Commits:
fec1edb5 by Bas Couwenberg at 2023-08-13T17:22:07+02:00
Use execute_{before,after} instead of override in rules file.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+snaphu (2.0.6-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Use execute_{before,after} instead of override in rules file.
+
+ -- Bas Couwenberg <[email protected]>  Sun, 13 Aug 2023 17:21:55 +0200
+
 snaphu (2.0.6-1) unstable; urgency=medium
 
   [ Antonio Valentino ]


=====================================
debian/rules
=====================================
@@ -8,24 +8,20 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 
-DH_OPTIONS=--sourcedirectory=src
-
 %:
-       dh $@
+       dh $@ --sourcedirectory=src
+
+execute_after_dh_auto_clean:
+       $(MAKE) -C src clobber
+       rm -rf bin/*
 
-override_dh_auto_build:
+execute_before_dh_auto_build:
        mkdir -p bin
-       dh_auto_build --sourcedirectory=src
 
 override_dh_auto_install:
-       dh_auto_install --sourcedirectory=src -- 
INSTALLDIR=../debian/snaphu/usr/bin/ MANDIR=../debian/snaphu/usr/share/man
+       dh_auto_install -- \
+               INSTALLDIR=../debian/snaphu/usr/bin/ \
+               MANDIR=../debian/snaphu/usr/share/man
 
 override_dh_installchangelogs:
        dh_installchangelogs -k README_releasenotes.txt
-
-override_dh_auto_clean:
-       dh_auto_clean --sourcedirectory=src
-       $(MAKE) -C src clobber
-       rm -rf bin/*
-
-.PHONY: override_dh_auto_build override_dh_auto_install override_dh_auto_clean



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/snaphu/-/commit/fec1edb57e3660c6ce0d011a6c304321a49983a5

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