ver 4.6
[googlelatitude] / 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 := googlelatitude
13
14 configure: configure-stamp
15 configure-stamp:
16         dh_testdir
17         qmake
18         touch configure-stamp
19
20 build: build-stamp
21 build-stamp: configure-stamp  
22         dh_testdir
23         $(MAKE)
24         touch build-stamp 
25
26 clean: 
27         dh_testdir
28         dh_testroot
29         rm -f build-stamp configure-stamp
30         -$(MAKE) clean
31         dh_clean 
32
33 install: build
34         dh_testdir
35         dh_testroot
36         dh_clean -k 
37         dh_installdirs
38         $(MAKE) DESTDIR=$(CURDIR)/debian/$(APPNAME) install
39         ln -s googlelatitude build/GoogleLatitudeGUI
40         ln -s googlelatitude build/GoogleLatitudeDaemon
41
42 binary-indep: build install
43 binary-arch: build install
44         dh_testdir
45         dh_testroot
46         dh_installchangelogs 
47         dh_installdocs
48         dh_installexamples
49         dh_install
50         dh_installmenu
51         dh_installdebconf       
52         dh_installlogrotate
53         dh_installemacsen
54         dh_installpam
55         dh_installmime
56         dh_python
57         dh_installinit
58         dh_installcron
59         dh_installinfo
60         dh_installman
61         dh_link
62         dh_strip
63         dh_compress
64         dh_fixperms
65         dh_perl
66         dh_makeshlibs
67         dh_installdeb
68         dh_shlibdeps
69         dh_gencontrol
70         dh_md5sums
71         dh_builddeb
72
73 binary: binary-indep binary-arch
74 .PHONY: build clean binary-indep binary-arch binary install configure