Automated commit for debian release 0.8.1-1
[wdq2wav.git] / debian / rules
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
4
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
7
8 CFLAGS = -Wall -g
9
10 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
11         CFLAGS += -O0
12 else
13         CFLAGS += -O2
14 endif
15 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
16         INSTALL_PROGRAM += -s
17 endif
18
19 configure: configure-stamp
20 configure-stamp:
21         dh_testdir
22         # Add here commands to configure the package.
23
24         touch configure-stamp
25
26
27 build: build-stamp
28
29 build-stamp: configure-stamp 
30         dh_testdir
31
32         # Add here commands to compile the package.
33         $(MAKE)
34         #/usr/bin/docbook-to-man debian/wdq2wav.sgml > wdq2wav.1
35
36         touch build-stamp
37
38 clean:
39         dh_testdir
40         dh_testroot
41         rm -f build-stamp configure-stamp
42
43         # Add here commands to clean up after the build process.
44         $(MAKE) clean
45
46         dh_clean
47
48 install: build
49         dh_testdir
50         dh_testroot
51         dh_clean -k
52         dh_installdirs
53
54         # Add here commands to install the package into debian/wdq2wav.
55         $(MAKE) install DESTDIR=$(CURDIR)/debian/wdq2wav
56
57
58 # Build architecture-independent files here.
59 binary-indep: build install
60 # We have nothing to do by default.
61
62 # Build architecture-dependent files here.
63 binary-arch: build install
64         dh_testdir
65         dh_testroot
66 #       dh_installdebconf       
67         dh_installdocs
68         dh_installexamples
69         dh_installmenu
70 #       dh_installlogrotate
71 #       dh_installemacsen
72 #       dh_installpam
73 #       dh_installmime
74 #       dh_installinit
75         dh_installcron
76         dh_installman
77         dh_installinfo
78 #       dh_undocumented
79         dh_installchangelogs 
80         dh_link
81         dh_strip
82         dh_compress
83         dh_fixperms
84 #       dh_makeshlibs
85         dh_installdeb
86 #       dh_perl
87         dh_shlibdeps
88         dh_gencontrol
89         dh_md5sums
90         dh_builddeb
91
92 binary: binary-indep binary-arch
93 .PHONY: build clean binary-indep binary-arch binary install configure