incorporate patch made in NMU by Riku Voipio to force configure executable
[debian/as31] / debian / rules
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 configure: configure-stamp
7 configure-stamp:
8         dh_testdir
9         chmod a+x ./configure
10         ./configure --prefix=/usr --mandir=/usr/share/man
11         touch configure-stamp
12
13 build: build-stamp
14
15 build-stamp: configure-stamp 
16         dh_testdir
17         $(MAKE)
18         touch $@
19
20 clean:
21         dh_testdir
22         dh_testroot
23         rm -f build-stamp configure-stamp
24         [ ! -f Makefile ] || $(MAKE) clean
25         dh_clean 
26
27 install: build
28         dh_testdir
29         dh_testroot
30         dh_clean -k 
31         dh_installdirs
32         $(MAKE) DESTDIR=$(CURDIR)/debian/as31 install
33
34 # Build architecture-independent files here.
35 binary-indep: build install
36
37 # Build architecture-dependent files here.
38 binary-arch: build install
39         dh_testdir
40         dh_testroot
41         dh_installchangelogs ChangeLog
42         dh_installdocs
43         dh_installman as31/as31.1
44         dh_link
45         dh_strip
46         dh_compress
47         dh_fixperms
48         dh_installdeb
49         dh_shlibdeps
50         dh_gencontrol
51         dh_md5sums
52         dh_builddeb
53
54 binary: binary-indep binary-arch
55 .PHONY: build clean binary-indep binary-arch binary install configure