X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=13bdadca02f7254cca2ab1d9684f9dece99cfbf1;hb=adc800dbc424a1e246dd4a82a0c2e88eeda25531;hp=a230cea3ea2bc2d5a2170d18461ba4e5b195ac94;hpb=cd4738e8f5ede42cba925b58a84c61e22bab8e8f;p=onak.git diff --git a/debian/rules b/debian/rules index a230cea..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=db4 +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