aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
blob: 54903050d039caab46a7ea72d10fd260b730134d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DPKG_GENSYMBOLS_CHECK_LEVEL=4

%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	NOCONFIGURE=1 dh-autoreconf ./autogen.sh

override_dh_install:
	find debian/indicator-power -name \*.la -delete
	find debian/indicator-power -name \*.a -delete
	mkdir -p debian/indicator-power/usr/share/apport/package-hooks/
	cp debian/source_indicator-power.py debian/indicator-power/usr/share/apport/package-hooks/