payment voiding part deux & credit card refunds!
[freeside.git] / debian / rules
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper. 
3 # GNU copyright 1997 by Joey Hess.
4 #
5 # This version is for a hypothetical package that builds an
6 # architecture-dependant package, as well as an architecture-independent
7 # package.
8
9 # Uncomment this to turn on verbose mode. 
10 #export DH_VERBOSE=1
11
12 # This is the debhelper compatability version to use.
13 export DH_COMPAT=3
14
15 configure: configure-stamp
16 configure-stamp:
17         dh_testdir
18         # Add here commands to configure the package.
19         
20
21         touch configure-stamp
22
23 build: configure-stamp build-stamp
24 build-stamp:
25         dh_testdir
26
27         # Add here commands to compile the package.
28         $(MAKE)
29
30         touch build-stamp
31
32 clean:
33         dh_testdir
34         dh_testroot
35         rm -f build-stamp configure-stamp
36
37         # Add here commands to clean up after the build process.
38         -$(MAKE) clean
39
40         dh_clean
41
42 install: DH_OPTIONS=
43 install: build
44         dh_testdir
45         dh_testroot
46         dh_clean -k
47         dh_installdirs
48
49         # Add here commands to install the package into debian/freeside.
50         $(MAKE) install DESTDIR=$(CURDIR)/debian/freeside
51
52         dh_movefiles
53
54 # Build architecture-independent files here.
55 # Pass -i to all debhelper commands in this target to reduce clutter.
56 binary-indep: build install
57         dh_testdir -i
58         dh_testroot -i
59 #       dh_installdebconf -i
60         dh_installdocs -i
61         dh_installexamples -i
62         dh_installmenu -i
63 #       dh_installlogrotate -i
64 #       dh_installemacsen -i
65 #       dh_installpam -i
66 #       dh_installmime -i
67 #       dh_installinit -i
68         dh_installcron -i
69 #       dh_installman -i
70         dh_installinfo -i
71 #       dh_undocumented -i
72         dh_installchangelogs  -i
73         dh_link -i
74         dh_compress -i
75         dh_fixperms -i
76         dh_installdeb -i
77 #       dh_perl -i
78         dh_gencontrol -i
79         dh_md5sums -i
80         dh_builddeb -i
81
82 # Build architecture-dependent files here.
83 binary-arch: build install
84         dh_testdir -a
85         dh_testroot -a
86 #       dh_installdebconf -a
87         dh_installdocs -a
88         dh_installexamples -a
89         dh_installmenu -a
90 #       dh_installlogrotate -a
91 #       dh_installemacsen -a
92 #       dh_installpam -a
93 #       dh_installmime -a
94 #       dh_installinit -a
95         dh_installcron -a
96 #       dh_installman -a
97         dh_installinfo -a
98 #       dh_undocumented -a
99         dh_installchangelogs  -a
100         dh_strip -a
101         dh_link -a
102         dh_compress -a
103         dh_fixperms -a
104 #       dh_makeshlibs -a
105         dh_installdeb -a
106 #       dh_perl -a
107         dh_shlibdeps -a
108         dh_gencontrol -a
109         dh_md5sums -a
110         dh_builddeb -a
111
112 binary: binary-indep binary-arch
113 .PHONY: build clean binary-indep binary-arch binary install configure