From 8fbb012f92ed491620b8f0ae312c8842aadffe06 Mon Sep 17 00:00:00 2001 From: Giorgio Dal Molin Date: Wed, 12 Nov 2014 17:41:06 +0100 Subject: build: add autotools support for the 'files' subdir Added support to install some 'nft' scripts under '${sysconfdir}/nftables', typically '/etc/nftables'. Signed-off-by: Giorgio Dal Molin Signed-off-by: Pablo Neira Ayuso --- files/nftables/Makefile.am | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 files/nftables/Makefile.am (limited to 'files/nftables/Makefile.am') diff --git a/files/nftables/Makefile.am b/files/nftables/Makefile.am new file mode 100644 index 00000000..1378e2b6 --- /dev/null +++ b/files/nftables/Makefile.am @@ -0,0 +1,13 @@ + +pkgsysconfdir = ${sysconfdir}/nftables +dist_pkgsysconf_DATA = bridge-filter \ + inet-filter \ + ipv4-filter \ + ipv4-mangle \ + ipv4-nat \ + ipv6-filter \ + ipv6-mangle \ + ipv6-nat + +install-data-hook: + ${SED} -i 's|@sbindir[@]|${sbindir}/|g' ${DESTDIR}${pkgsysconfdir}/* -- cgit v1.2.3