X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/68bd460aaea85bc56bfc3f8069cd4c243d9e8748..a1af6b508efcf1e6edb07cc4f471710739e9382c:/debian/rules diff --git a/debian/rules b/debian/rules index 99b8a032..47eb20d2 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #! /usr/bin/make -f +export DH_COMPAT = 4 + build: rm -rf build deb-build mkdir deb-build @@ -7,9 +9,13 @@ build: make -C deb-build touch build +clean: + dh_clean + rm -rf deb-build build + install: build dh_clean - make -C deb-build install DESTDIR=`pwd`/debian/tmp + make -C deb-build install DESTDIR=`pwd`/debian/cfd binary-indep: install dh_testdir -i @@ -29,7 +35,7 @@ binary: binary-indep binary-arch source: rm -rf deb-build/*.tar.gz deb-build/=deb= - make -C deb-build dist + make -C deb-build dist PACKAGE=cfd mkdir deb-build/=deb= cd deb-build/=deb=; tar xvfz ../*.tar.gz d=`pwd`; cd ..; dpkg-source -i -b $$d/deb-build/=deb=/*