Installing the changelog.
[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_installchangelogs
39         dh_installdocs
40         dh_installexamples
41         dh_installman
42         dh_link
43         dh_strip
44         dh_compress
45         dh_fixperms
46         dh_installdeb
47         dh_shlibdeps
48         dh_gencontrol
49         dh_md5sums
50         dh_builddeb
51
52 binary: binary-indep binary-arch
53 .PHONY: build clean binary-indep binary-arch binary install configure