[brisk-menu] 02/04: debian/rules: Migrate to Meson.

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Tue Nov 14 16:37:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

flexiondotorg-guest pushed a commit to branch master
in repository brisk-menu.

commit bda7197fa860357fd5d4fec54e8aed33f848f685
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date:   Tue Nov 14 16:36:08 2017 +0000

    debian/rules: Migrate to Meson.
---
 debian/rules | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/debian/rules b/debian/rules
index 9a27f59..205d93f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,5 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/utils.mk
-
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
@@ -13,14 +9,12 @@ DEB_BUILD_PARALLEL = 1
 # use the NEWS file as upstream ChangeLog...
 DEB_INSTALL_DOCS_ALL = README.md
 
-DEB_CONFIGURE_SCRIPT := ./autogen.sh
+%:
+	dh $@ --without autoreconf --buildsystem=meson
 
-DEB_CONFIGURE_EXTRA_FLAGS := --disable-silent-rules \
-                             --localstatedir=/var \
-                             --libdir=/usr/lib/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) \
-                             --includedir=/usr/include/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) \
-                             --libexecdir=/usr/lib/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)/brisk-menu/ \
-                             --disable-static
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		--libexecdir=/usr/lib/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)/brisk-menu/
 
 common-binary-post-install-arch:: list-missing
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/brisk-menu.git



More information about the pkg-mate-commits mailing list