BastionGuard/debian/rules
specialworld83 d34e319fbe Public release
2026-02-27 21:37:06 +01:00

32 lines
701 B
Makefile
Executable file

#!/usr/bin/make -f
export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --buildsystem=cmake --parallel
override_dh_auto_configure:
set -ex; \
dh_auto_configure -- \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_INSTALL_LOCALSTATEDIR=/var \
-DENABLE_SYSTEMD_SERVICES=OFF \
-DENABLE_USER_AGENT_AUTO=OFF \
-DINSTALL_NGINX_DEFAULTS=OFF \
-DBG_PACKAGING=ON \
-DBG_DEBIAN_NO_INSTALL_CODE=ON
override_dh_auto_build:
set -ex; \
dh_auto_build -- -j$$(nproc)
override_dh_auto_install:
set -ex; \
dh_auto_install --destdir=debian/tmp
override_dh_install:
set -ex; \
dh_install --sourcedir=debian/tmp