414ea497dfd06e0a59b06609f8b86768ec75a6b2
[grr] / 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
13
14
15 configure: configure-stamp
16 configure-stamp:
17         dh_testdir
18         # Add here commands to configure the package.
19
20         /opt/qt4-maemo5/bin/qmake
21         touch configure-stamp
22
23
24 build: build-stamp
25
26 build-stamp: configure-stamp  
27         dh_testdir
28
29         $(MAKE)
30
31         touch $@
32
33 clean: 
34         dh_testdir
35         dh_testroot
36         rm -f build-stamp configure-stamp
37
38         -$(MAKE) clean
39
40         dh_clean 
41
42 install: build
43         dh_testdir
44         dh_testroot
45         dh_clean -k 
46         dh_installdirs
47
48         $(MAKE) DESTDIR="$(CURDIR)"/debian/grr install
49
50
51 # Build architecture-independent files here.
52 binary-indep: build install
53 # We have nothing to do by default.
54
55 # Build architecture-dependent files here.
56 binary-arch: build install
57         dh_testdir
58         dh_testroot
59         dh_installchangelogs 
60 #       dh_installdocs
61 #       dh_installexamples
62 #       dh_install
63 #       dh_installmenu
64 #       dh_installdebconf       
65 #       dh_installlogrotate
66 #       dh_installemacsen
67 #       dh_installpam
68 #       dh_installmime
69 #       dh_python
70 #       dh_installinit
71 #       dh_installcron
72 #       dh_installinfo
73 #       dh_installman
74         dh_link
75         dh_strip
76         dh_compress
77         dh_fixperms
78 #       dh_perl
79 #       dh_makeshlibs
80         dh_installdeb
81         dh_shlibdeps
82         dh_gencontrol
83         dh_md5sums
84         dh_builddeb
85
86 binary: binary-indep binary-arch
87 .PHONY: build clean binary-indep binary-arch binary install configure