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

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

export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

clean:
	rm -f build && dh clean --buildsystem=qmake

build:
	dh build --buildsystem=qmake && touch build

override_dh_fixperms:
	dh_fixperms && chmod a-x debian/ultracopier/usr/share/ultracopier/lang/*

%:
	dh $@ --buildsystem=qmake