update icons paths
[bootcreen] / debian / rules
1 #!/usr/bin/make -f\r
2 # -*- makefile -*-\r
3 # Sample debian/rules that uses debhelper.\r
4 # This file was originally written by Joey Hess and Craig Small.\r
5 # As a special exception, when this file is copied by dh-make into a\r
6 # dh-make output file, you may use that output file without restriction.\r
7 # This special exception was added by Craig Small in version 0.37 of dh-make.\r
8 \r
9 # Uncomment this to turn on verbose mode.\r
10 #export DH_VERBOSE=1\r
11 \r
12 APPNAME := bootscreen\r
13 builddir:\r
14         mkdir -p builddir\r
15 \r
16 builddir/Makefile: builddir\r
17         cd builddir && qmake PREFIX=/usr ../$(APPNAME).pro\r
18 \r
19 build: build-stamp\r
20 \r
21 build-stamp: builddir/Makefile\r
22         dh_testdir\r
23 \r
24         # Add here commands to compile the package.\r
25         cd builddir && $(MAKE)\r
26         #docbook-to-man debian/$(APPNAME).sgml > $(APPNAME).1\r
27 \r
28         touch $@\r
29 \r
30 clean:\r
31         dh_testdir\r
32         dh_testroot\r
33         rm -f build-stamp\r
34 \r
35         # Add here commands to clean up after the build process.\r
36         rm -rf builddir\r
37 \r
38         dh_clean \r
39 \r
40 install: build\r
41         dh_testdir\r
42         dh_testroot\r
43         dh_clean -k \r
44         dh_installdirs\r
45 \r
46         # Add here commands to install the package into debian/arora.\r
47         cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install\r
48 \r
49 \r
50 # Build architecture-independent files here.\r
51 binary-indep: build install\r
52 # We have nothing to do by default.\r
53 \r
54 # Build architecture-dependent files here.\r
55 binary-arch: build install\r
56         dh_testdir\r
57         dh_testroot\r
58         dh_installdocs\r
59         dh_installexamples\r
60         dh_installman\r
61         dh_link\r
62         dh_strip\r
63         dh_compress\r
64         dh_fixperms\r
65         dh_installdeb\r
66         dh_shlibdeps\r
67         dh_gencontrol\r
68         dh_md5sums\r
69         dh_builddeb\r
70 \r
71 binary: binary-indep binary-arch\r
72 .PHONY: build clean binary-indep binary-arch binary install configure\r