X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=baa74cb624dfd47228c08e304abe8bfcdd0bf79e;hb=a799cc2909f47d918d1ec7171a9edba28a9f5136;hp=0874ec68bc7eecc197d14dbb7ce5aee8c1447f20;hpb=d9726d0f8fffa6d2f8174bf6f6599b2e01ccbd50;p=onak.git diff --git a/debian/rules b/debian/rules index 0874ec6..baa74cb 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,14 @@ #!/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 +CFLAGS += -std=gnu99 -DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=dynamic +%: + dh "$@" --with 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