X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=13bdadca02f7254cca2ab1d9684f9dece99cfbf1;hb=098634aaa52bff406d11f1f6b57bc1e10208cee7;hp=0874ec68bc7eecc197d14dbb7ce5aee8c1447f20;hpb=d9726d0f8fffa6d2f8174bf6f6599b2e01ccbd50;p=onak.git diff --git a/debian/rules b/debian/rules index 0874ec6..13bdadc 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +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 -# Woody doesn't like this of course -#CFLAGS += -std=gnu99 +%: + dh "$@" --with autoreconf,systemd + +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