1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
#!/usr/bin/make -f
package=dns-browse
build:
dh_testdir
./configure --prefix /usr
docbook-to-man debian/dns_browse.sgml >debian/dns_browse.1
docbook-to-man debian/dns_tree.sgml >debian/dns_tree.1
touch build
clean:
dh_testdir
dh_testroot
-rm -f build
if [ -f Makefile ];then make distclean; fi
-rm -f debian/dns_browse.1 debian/dns_tree.1
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
make install DESTDIR=debian/dns-browse
binary-indep: install
dh_testdir
dh_testroot
# dh_perl
dh_installchangelogs
dh_installdocs README*
dh_installman debian/dns_browse.1 debian/dns_tree.1
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary-arch:
dh_testdir
dh_testroot
# There are no architecture dependent files in this package
# Below here is fairly generic really
binary: binary-indep binary-arch
source diff:
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
.PHONY: binary binary-arch binary-indep clean checkroot
|