#! /usr/bin/make -f
-CDBS = /usr/share/cdbs/1
-include $(CDBS)/rules/debhelper.mk
-include $(CDBS)/class/autotools.mk
+DH_OPTIONS = -Bdebian/build
+%:; dh $@ $(DH_OPTIONS) --without autoreconf
-DEB_BUILDDIR = build
-
-install/cfd::
+override_dh_auto_install:
+ dh_auto_install $(addprefix -O,$(DH_OPTIONS))
rm -f debian/cfd/usr/share/info/dir