From 757e659344a144f86adb4c531fa4477771dfc0bc Mon Sep 17 00:00:00 2001
From: "Dmitry V. Levin" <ldv@altlinux.org>
Date: Thu, 18 May 2017 12:27:31 +0300
Subject: [PATCH] Do not install quota_nld.8 when quota_nld is not installed
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Ported to 4.03:
commit 579425d669eb4df2ae26ceb70dfb9380c38fb521
Author: Dmitry V. Levin <ldv@altlinux.org>
Date: Thu May 18 12:27:31 2017 +0300
Do not install quota_nld.8 when quota_nld is not installed
When netlink support is not enabled, quota_nld is not built
and not installed but quota_nld.8 is still installed.
Fix this inconsistency and install quota_nld.8 iff quota_nld
is installed.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
Makefile.am | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 1414f8d..ff9f6a0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,7 +27,6 @@ man_MANS = \
edquota.8 \
quotagrpadmins.5 \
quotacheck.8 \
- quota_nld.8 \
quotaon.8 \
quotastats.8 \
quotasync.1 \
@@ -42,6 +41,10 @@ man_MANS = \
warnquota.8 \
xqmstats.8
+if WITH_NETLINK
+man_MANS += quota_nld.8
+endif
+
CLEANFILES = rquota.c rquota.h rquota_clnt.c
SUBDIRS = po
--
2.9.4