Don't run autogen.sh from debian script
[jelmer/ptabtools.git] / debian / rules
1 #!/usr/bin/make -f
2 # Made with the aid of debmake, by Christoph Lameter,
3 # based on the sample debian/rules file for GNU hello by Ian Jackson.
4
5 package=ptabtools
6
7 build: build-stamp
8 build-stamp:
9         dh_testdir
10         ./configure --prefix=/usr
11         $(MAKE)
12         touch $@
13
14 install: build
15         dh_testdir
16         dh_testroot
17         dh_clean -k
18         dh_installdirs
19         $(MAKE) install DESTDIR=debian/tmp
20         dh_movefiles
21
22 clean:
23         dh_testdir
24         dh_testroot
25         rm -f build-stamp
26         -$(MAKE) clean
27         rm -rf autom4te.cache
28         dh_clean
29
30 binary-arch: build install
31         dh_testdir -a
32         dh_testroot -a
33         dh_installchangelogs -a ChangeLog
34         dh_installdocs -a
35         dh_installman -a
36         dh_link -p libptb0 usr/lib/libptb.so.0.4.3 usr/lib/libptb.so.0
37         dh_strip -a
38         dh_compress -a
39         dh_fixperms -a
40         dh_makeshlibs -a
41         dh_installdeb -a
42         dh_shlibdeps -a
43         dh_gencontrol -a
44         dh_md5sums -a
45         dh_builddeb -a
46
47 binary: binary-arch 
48
49 .PHONY: binary binary-arch binary-indep clean