#! /usr/bin/make -f
+export DH_COMPAT = 4
+
build:
rm -rf build deb-build
mkdir deb-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
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=/*