3261823acc885bca27ede41a577fc11bef3ad023
[bootcreen] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 export DH_VERBOSE=1
11
12 APPNAME := bootscreen
13
14 configure: configure-stamp
15 configure-stamp:
16         dh_testdir
17         -qmake
18         -/opt/qt4-maemo5/bin/qmake-qt4
19         touch configure-stamp
20
21 build: build-stamp
22 build-stamp: configure-stamp  
23         dh_testdir
24         $(MAKE)
25         touch build-stamp 
26
27 clean: 
28         dh_testdir
29         dh_testroot
30         rm -f build-stamp configure-stamp
31         -$(MAKE) clean
32         dh_clean 
33
34 install: build
35         dh_testdir
36         dh_testroot
37         dh_clean -k 
38         dh_installdirs
39         $(MAKE) DESTDIR=$(CURDIR)/debian/$(APPNAME) install
40
41 binary-indep: build install
42 binary-arch: build install
43         dh_testdir
44         dh_testroot
45         dh_installchangelogs
46         dh_installdocs
47         dh_installexamples
48         dh_install
49         dh_installmenu
50         dh_installdebconf       
51         dh_installlogrotate
52         dh_installemacsen
53         dh_installpam
54         dh_installmime
55 #       dh_python
56         dh_installinit
57         dh_installcron
58         dh_installinfo
59         dh_installman
60         dh_link
61         dh_strip
62         dh_compress
63         dh_fixperms
64 #       dh_perl
65         dh_makeshlibs
66         dh_installdeb
67         dh_shlibdeps
68         dh_gencontrol
69         dh_md5sums
70         dh_builddeb
71
72 binary: binary-indep binary-arch
73 .PHONY: build clean binary-indep binary-arch binary install configure