summaryrefslogtreecommitdiffstats
path: root/doc/.packaging/fedora/32/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'doc/.packaging/fedora/32/build.sh')
-rwxr-xr-xdoc/.packaging/fedora/32/build.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/.packaging/fedora/32/build.sh b/doc/.packaging/fedora/32/build.sh
new file mode 100755
index 0000000..68ea49e
--- /dev/null
+++ b/doc/.packaging/fedora/32/build.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+# SPDX-License-Identifier: GPL-3.0-or-later
+[ -d /root/kresd/build_packaging ] && rm -rf /root/kresd/build_packaging/;
+CFLAGS="$CFLAGS -Wall -pedantic -fno-omit-frame-pointer"
+LDFLAGS="$LDFLAGS -Wl,--as-needed"
+meson build_packaging \
+ --buildtype=plain \
+ --prefix=/root/kresd/install_packaging \
+ --sbindir=sbin \
+ --libdir=lib \
+ --includedir=include \
+ --sysconfdir=etc \
+ -Ddoc=enabled \
+ -Dsystemd_files=enabled \
+ -Dclient=enabled \
+ -Dunit_tests=enabled \
+ -Dmanaged_ta=enabled \
+ -Dkeyfile_default=/var/lib/knot-resolver/root.keys \
+ -Dinstall_root_keys=enabled \
+ -Dinstall_kresd_conf=enabled;