]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - debian/rules
Switch debian build system to dh
[onak.git] / debian / rules
index baac1267c1a5c82c021db6a3d2992d1221f75ef4..acf47b1923dc5749b63ef8808da3ebb54cbf84df 100755 (executable)
@@ -1,8 +1,16 @@
 #!/usr/bin/make -f
 
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
-
 DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=dynamic
 
 CFLAGS += -std=gnu99
 DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=dynamic
 
 CFLAGS += -std=gnu99
+
+%:
+       dh "$@"
+
+override_dh_clean:
+       rm -f config.log configure config.h.in aclocal.m4
+       dh_clean
+
+override_dh_auto_configure:
+       autoreconf
+       dh_auto_configure -- ${DEB_CONFIGURE_EXTRA_FLAGS}