~zeal-developers/zeal/github-ubuntu

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
#DH_VERBOSE = 1
# Thanks to ChangZhuo Chen for this rules file! (https://github.com/czchen/debian-zeal/blob/master/debian/rules)

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export QT_SELECT=qt5

export ZEAL_VERSION=0.1.0

%:
	dh $@ --buildsystem=qmake

override_dh_auto_configure:
	dh_auto_configure -- BUILD_ROOT=$(CURDIR)

override_dh_fixperms:
	dh_fixperms
	find $(CURDIR)/debian/zeal -name '*.png' -type f -exec chmod -x {} \;