[pkg-d-commits] [gir-to-d] 03/06: Use dh's built-in Meson support
Matthias Klumpp
mak at moszumanska.debian.org
Fri Sep 22 19:03:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to branch master
in repository gir-to-d.
commit 9a12e1c3254353ba671afc424b75b94978163e75
Author: Matthias Klumpp <mak at debian.org>
Date: Fri Sep 22 20:56:03 2017 +0200
Use dh's built-in Meson support
---
debian/control | 2 +-
debian/rules | 29 +++--------------------------
2 files changed, 4 insertions(+), 27 deletions(-)
diff --git a/debian/control b/debian/control
index 49a79bb..ec8561f 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: devel
Priority: optional
Maintainer: Debian D Language Group <pkg-d-devel at lists.alioth.debian.org>
Uploaders: Matthias Klumpp <mak at debian.org>
-Build-Depends: debhelper (>= 10),
+Build-Depends: debhelper (>= 10.4),
ldc,
meson,
pkg-config
diff --git a/debian/rules b/debian/rules
index 4bd5748..ae6f21d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,33 +2,10 @@
# -*- makefile -*-
#export DH_VERBOSE=1
-GIRTOD_FLAGS := --prefix=/usr \
- --buildtype=plain
-
-export DFLAGS=-O2 -g -release -wi
-
-# Define install target dir
-INSTALLDIR = $(CURDIR)/debian/tmp
+export DFLAGS=-O -g -release -wi
%:
dh $@ --parallel
-override_dh_auto_configure:
- mkdir build
- (cd build && meson $(GIRTOD_FLAGS) ..)
-
-override_dh_auto_build:
- ninja -Cbuild -v
-
-override_dh_auto_install:
- DESTDIR=$(INSTALLDIR) ninja -Cbuild -v install
-
-override_dh_auto_test:
- ninja -Cbuild -v test
-
-override_dh_install:
- dh_install --list-missing
-
-override_dh_clean:
- rm -rf build/
- dh_clean
+override_dh_missing:
+ dh_missing --fail-missing
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/gir-to-d.git
More information about the pkg-d-commits
mailing list