~ubuntu-core-dev/update-notifier/ubuntu

9 by michiels
Added debian/ dir.
1
#!/usr/bin/make -f
532 by Loïc Minier
Move to debhelper 7 by calling dh_auto_* where possible and replacing some
2
export CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
3
export LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
520 by Loïc Minier
Only pass --host to configure if DEB_BUILD_GNU_TYPE and DEB_HOST_GNU_TYPE
4
536 by Loïc Minier
Finish move to debhelper 7
5
%:
931 by Gianfranco Costamagna
Switch to debhelper and compat 11, switch to libayatana-appindicator
6
	dh $@ --with python3 --with autoreconf
7
8
override_dh_autoreconf:
9
	NOCONFIGURE=1 dh_autoreconf ./autogen.sh
736 by Steve Langasek
Make sure our tests are actually run at build time.
10
932 by Gianfranco Costamagna
Fix build failure due to autoreconfing, force no multiarch
11
override_dh_auto_configure:
12
	dh_auto_configure -- --libdir=/usr/lib
13
736 by Steve Langasek
Make sure our tests are actually run at build time.
14
override_dh_auto_test:
888 by Brian Murray
releasing package update-notifier version 3.173
15
	cd tests && python3 test_package-data-downloader.py
957.1.5 by Julian Andres Klode
Add changelog entry and test case
16
	cd tests && python3 test_motd.py
17