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
|
#!/usr/bin/make -f
# $Id$
clean:
dh_testdir
dh_testroot
dh_auto_clean
# clean up unpacked tarball
rm -f Build.PL CHANGES MANIFEST META.yml Makefile.PL README SIGNATURE TODO
rm -rf lib
# remove our own stamps
rm -f build-stamp configure-stamp configure-stamp
configure:
configure-stamp:
dh_testdir
# unpack nested tarball
tar --exclude=debian --strip-components=1 -xzvf ClamAV-Client-0.11.tar.gz
dh_auto_configure
touch $@
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-stamp: configure-stamp
dh_testdir
dh_auto_build
touch $@
install: build-stamp
dh_testdir
dh_testroot
dh_auto_install
dh_link
dh_strip
dh_fixperms
dh_installdocs
dh_installchangelogs
dh_compress
dh_shlibdeps
dh_perl
dh_gencontrol
dh_builddeb
binary-arch: build install
binary-indep: build install
binary: binary-indep binary-arch
.PHONY: clean build binary-indep binary-arch binary
# vi: set noet:
|