X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=baa74cb624dfd47228c08e304abe8bfcdd0bf79e;hb=3da81770b841f841c5145f91a9ccedc296e13f4b;hp=baac1267c1a5c82c021db6a3d2992d1221f75ef4;hpb=c09b6a0640a2c7ce00f9ce4c5bdd5bcd5695b841;p=onak.git diff --git a/debian/rules b/debian/rules index baac126..baa74cb 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +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 -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