Ui fix.
[evilplumber] / debian / rules
1 #!/usr/bin/make -f
2 APPNAME := evilplumber
3 builddir:
4         mkdir -p builddir
5
6 builddir/Makefile: builddir
7         cd builddir && qmake-qt4 PREFIX=/usr IMGDIR=/usr/share/${APPNAME} LEVDIR=/usr/share/${APPNAME} ../$(APPNAME).pro
8
9 build: build-stamp
10
11 build-stamp: builddir/Makefile
12         dh_testdir
13         # Add here commands to compile the package.
14         cd builddir && $(MAKE)
15         touch $@
16
17 clean:
18         dh_testdir
19         dh_testroot
20         rm -f build-stamp
21         # Add here commands to clean up after the build process.
22         rm -rf builddir
23         dh_clean
24 install: build
25         dh_testdir
26         dh_testroot
27         dh_clean -k
28         dh_installdirs
29
30         # Add here commands to install the package into debian/
31         cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
32
33 binary-indep: build install
34
35 binary-arch: build install
36         dh_testdir
37         dh_testroot
38         dh_installdocs
39         dh_installexamples
40         dh_installman
41         dh_link
42         dh_strip
43         dh_compress
44         dh_fixperms
45         dh_installdeb
46         dh_shlibdeps
47         dh_gencontrol
48         dh_md5sums
49         dh_builddeb
50
51 binary: binary-indep binary-arch
52 .PHONY: build clean binary-indep binary-arch binary install configure