eeb9a8be69845d9672441e35911bffa1c822fdbb
[vicar] / qtc_packaging / debian_harmattan / 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
13
14
15
16 configure: configure-stamp
17 configure-stamp:
18         dh_testdir
19         # qmake PREFIX=/usr# Uncomment this line for use without Qt Creator
20
21         touch configure-stamp
22
23
24 build: build-stamp
25
26 build-stamp: configure-stamp  
27         dh_testdir
28
29         # Add here commands to compile the package.
30         # $(MAKE) # Uncomment this line for use without Qt Creator
31         #docbook-to-man debian/vicar.sgml > vicar.1
32
33         touch $@
34
35 clean: 
36         dh_testdir
37         dh_testroot
38         rm -f build-stamp configure-stamp
39
40         # Add here commands to clean up after the build process.
41         $(MAKE) clean
42
43         dh_clean 
44
45 install: build
46         dh_testdir
47         dh_testroot
48         dh_clean -k 
49         dh_installdirs
50
51         # Add here commands to install the package into debian/vicar.
52         $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/vicar install
53
54
55 # Build architecture-independent files here.
56 binary-indep: build install
57 # We have nothing to do by default.
58
59 # Build architecture-dependent files here.
60 binary-arch: build install
61         dh_testdir
62         dh_testroot
63         dh_installchangelogs 
64         dh_installdocs
65 <<<<<<< HEAD
66 #       dh_installexamples
67 =======
68         dh_installexamples
69 >>>>>>> 74800375ecf7f41e290cf7cc7fa9ee8b230be68e
70 #       dh_install
71 #       dh_installmenu
72 #       dh_installdebconf       
73 #       dh_installlogrotate
74 #       dh_installemacsen
75 #       dh_installpam
76 #       dh_installmime
77 #       dh_python
78 #       dh_installinit
79 #       dh_installcron
80 #       dh_installinfo
81 <<<<<<< HEAD
82 #       dh_installman
83         dh_link
84         dh_strip #Uncomment to remove debug symbols
85 =======
86         dh_installman
87         dh_link
88         dh_strip
89 >>>>>>> 74800375ecf7f41e290cf7cc7fa9ee8b230be68e
90         dh_compress
91         dh_fixperms
92 #       dh_perl
93 #       dh_makeshlibs
94         dh_installdeb
95 <<<<<<< HEAD
96         dh_shlibdeps # Uncomment this line for use without Qt Creator
97 =======
98         # dh_shlibdeps # Uncomment this line for use without Qt Creator
99 >>>>>>> 74800375ecf7f41e290cf7cc7fa9ee8b230be68e
100         dh_gencontrol
101         dh_md5sums
102         dh_builddeb
103
104 binary: binary-indep binary-arch
105 .PHONY: build clean binary-indep binary-arch binary install configure