#!/usr/bin/make -f
-DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=dynamic
-
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
CFLAGS += -std=gnu99
%:
dh "$@"
-override_dh_clean:
- rm -f config.log configure config.h.in aclocal.m4
- dh_clean
+override_dh_installinit:
+ dh_installinit --no-start
-override_dh_auto_configure:
- autoreconf
- dh_auto_configure -- ${DEB_CONFIGURE_EXTRA_FLAGS}
+override_dh_installsystemd:
+ dh_installsystemd --no-enable --no-start onak.service
+ dh_installsystemd --no-enable --no-start onak.socket