2012-05-03 19:09:34 -07:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
# -*- makefile -*-
|
|
|
|
|
# Sample debian/rules that uses debhelper.
|
|
|
|
|
# This file was originally written by Joey Hess and Craig Small.
|
|
|
|
|
# As a special exception, when this file is copied by dh-make into a
|
|
|
|
|
# dh-make output file, you may use that output file without restriction.
|
|
|
|
|
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
|
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
|
|
|
#export DH_VERBOSE=1
|
|
|
|
|
|
|
|
|
|
%:
|
2013-04-11 15:32:14 -07:00
|
|
|
dh $@ --parallel
|
2012-09-13 16:41:28 -07:00
|
|
|
|
2012-10-08 15:09:41 -07:00
|
|
|
override_dh_auto_configure:
|
2017-12-13 15:09:59 +11:00
|
|
|
meson --prefix /usr --buildtype=plain debian/build
|
2017-12-14 09:52:43 +11:00
|
|
|
|
2017-12-13 15:09:59 +11:00
|
|
|
override_dh_auto_build:
|
|
|
|
|
ninja -v -C debian/build
|
2012-10-08 15:09:41 -07:00
|
|
|
|
2018-09-01 21:31:35 +10:00
|
|
|
# Remove this target altogether for 0.14
|
2012-09-13 16:41:28 -07:00
|
|
|
override_dh_strip:
|
2018-09-01 21:31:35 +10:00
|
|
|
dh_strip --dbgsym-migration='geary-dbg'
|
2012-09-13 16:41:28 -07:00
|
|
|
|
|
|
|
|
override_dh_auto_install:
|
2017-12-13 15:09:59 +11:00
|
|
|
DESTDIR=${CURDIR}/debian/geary ninja -C debian/build install
|
2017-02-09 09:09:26 +11:00
|
|
|
|
|
|
|
|
override_dh_auto_test:
|
2018-02-11 09:50:10 +11:00
|
|
|
meson test -v -C debian/build engine-tests
|
2017-12-13 15:09:59 +11:00
|
|
|
|
|
|
|
|
override_dh_auto_clean:
|
|
|
|
|
rm -fr debian/build
|