X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=baa74cb624dfd47228c08e304abe8bfcdd0bf79e;hb=a799cc2909f47d918d1ec7171a9edba28a9f5136;hp=4c1e6ddde8697c297d35f676b7b4a045a116a568;hpb=55678b4c15ea873694d959e0d68114993093e9e2;p=onak.git diff --git a/debian/rules b/debian/rules index 4c1e6dd..baa74cb 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,14 @@ #!/usr/bin/make -f -DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=dynamic - +export DEB_BUILD_MAINT_OPTIONS = hardening=+all CFLAGS += -std=gnu99 %: - dh "$@" --with autoreconf + dh "$@" --with 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