Load quickappoint-0.1+svn20051119 into debian/quickappoint/trunk.
[debian/quickappoint.git] / 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 configure: configure-stamp
14 configure-stamp: patch
15         dh_testdir
16         # Add here commands to configure the package.
17
18         touch configure-stamp
19
20 build: build-stamp
21
22 build-stamp: configure-stamp 
23         dh_testdir
24
25         # Add here commands to compile the package.
26
27         touch build-stamp
28
29 clean: unpatch
30         dh_testdir
31         dh_testroot
32         rm -f build-stamp configure-stamp
33
34         # Add here commands to clean up after the build process.
35
36         dh_clean 
37
38 patch: patch-stamp
39 patch-stamp:
40                  dpatch apply-all
41 #                dpatch call-all -a=pkg-info >patch-stamp
42                  touch patch-stamp
43
44
45 unpatch:
46                  dpatch deapply-all
47                  rm -rf patch-stamp debian/patched
48
49
50 install: build
51         dh_testdir
52         dh_testroot
53         dh_clean -k 
54         dh_installdirs
55
56         # Add here commands to install the package into debian/quickappoint.
57
58         # Lintian overrides
59         install -m 644 $(CURDIR)/debian/lintian.overrides \
60                                         $(CURDIR)/debian/quickappoint/usr/share/lintian/overrides/quickappoint
61         # Database
62         install -m 644 $(CURDIR)/doc/dump.sql \
63                                         $(CURDIR)/debian/quickappoint/usr/share/dbconfig-common/data/quickappoint/install-dbadmin/pgsql
64
65 # Build architecture-independent files here.
66 binary-indep: build install
67 # We have nothing to do by default.
68
69 # Build architecture-dependent files here.
70 binary-arch: build install
71         dh_testdir
72         dh_testroot
73         dh_installchangelogs 
74         dh_installdocs
75 #       dh_installexamples
76         dh_install
77 #       dh_installmenu
78         dh_installdebconf       
79 #       dh_installlogrotate
80 #       dh_installemacsen
81 #       dh_installpam
82 #       dh_installmime
83 #       dh_installinit
84 #       dh_installcron
85 #       dh_installinfo
86         dh_installman
87 #       dh_link
88 #       dh_strip
89         dh_compress
90         dh_fixperms
91 #       dh_perl
92 #       dh_python
93 #       dh_makeshlibs
94         dh_installdeb
95         dh_shlibdeps
96         dh_gencontrol
97         dh_md5sums
98         dh_builddeb
99
100 binary: binary-indep binary-arch
101 .PHONY: build clean binary-indep binary-arch binary install configure