X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=13bdadca02f7254cca2ab1d9684f9dece99cfbf1;hb=adc800dbc424a1e246dd4a82a0c2e88eeda25531;hp=298926fb5b11ea56e5a78c48c76481bfc5aded73;hpb=99916c3399f78fbfbfb0b2da2ac112b327269d51;p=onak.git diff --git a/debian/rules b/debian/rules index 298926f..13bdadc 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,16 @@ #!/usr/bin/make -f -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/autotools.mk +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=dynamic --runstatedir=/run -DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=dynamic +CFLAGS += -std=gnu99 -DEB_MAKE_INSTALL_TARGET := +%: + dh "$@" --with autoreconf,systemd -# Woody doesn't like this of course -#CFLAGS += -std=gnu99 +override_dh_installinit: + dh_installinit --no-start + +override_dh_systemd_enable: + dh_systemd_enable --no-enable debian/onak.service + dh_systemd_enable --no-enable debian/onak.socket