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

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Balint Reczey
  • Date: 2020-06-11 18:46:02 UTC
  • Revision ID: balint.reczey@canonical.com-20200611184602-2rv1zan3xu723x2u
Moved to git at https://git.launchpad.net/update-notifier

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/make -f
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
4
 
 
5
 
%:
6
 
        dh $@ --with python3 --with autoreconf
7
 
 
8
 
override_dh_autoreconf:
9
 
        NOCONFIGURE=1 dh_autoreconf ./autogen.sh
10
 
 
11
 
override_dh_auto_configure:
12
 
        dh_auto_configure -- --libdir=/usr/lib
13
 
 
14
 
override_dh_auto_test:
15
 
        cd tests && python3 test_package-data-downloader.py
16
 
        cd tests && python3 test_motd.py
17