Blame SOURCES/quota-4.04-Install-rquota-3-only-if-RPC-is-enabled.patch

ecf77e
From b5ed9878d60bf2c6764ce8e1de4f69e64c4bdfaf Mon Sep 17 00:00:00 2001
ecf77e
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
ecf77e
Date: Wed, 6 Sep 2017 16:25:09 +0200
ecf77e
Subject: [PATCH] Install rquota(3) only if RPC is enabled
ecf77e
MIME-Version: 1.0
ecf77e
Content-Type: text/plain; charset=UTF-8
ecf77e
Content-Transfer-Encoding: 8bit
ecf77e
ecf77e
rquote(3) documents rpcsvc header files. Thus it should be installed
ecf77e
only if the the header files are installed and that is only if RPC
ecf77e
configure feature is enabled.
ecf77e
ecf77e
Signed-off-by: Petr Písař <ppisar@redhat.com>
ecf77e
---
ecf77e
 Makefile.am | 6 ++++--
ecf77e
 1 file changed, 4 insertions(+), 2 deletions(-)
ecf77e
ecf77e
diff --git a/Makefile.am b/Makefile.am
ecf77e
index 8d80bee..9b852d2 100644
ecf77e
--- a/Makefile.am
ecf77e
+++ b/Makefile.am
ecf77e
@@ -27,7 +27,6 @@ man_MANS = \
ecf77e
 	quota.1 \
ecf77e
 	quot.8 \
ecf77e
 	repquota.8 \
ecf77e
-	rquota.3 \
ecf77e
 	setquota.8 \
ecf77e
 	warnquota.conf.5 \
ecf77e
 	warnquota.8 \
ecf77e
@@ -69,7 +68,10 @@ librpcclient_a_CFLAGS = -Wno-unused
ecf77e
 RPCLIBS = librpcclient.a
ecf77e
 BUILT_SOURCES = rquota.h rquota.c rquota_clnt.c
ecf77e
 CLEANFILES = rquota.c rquota.h rquota_clnt.c
ecf77e
-man_MANS += rpc.rquotad.8
ecf77e
+man_MANS += \
ecf77e
+	rpc.rquotad.8 \
ecf77e
+	rquota.3
ecf77e
+
ecf77e
 endif
ecf77e
 
ecf77e
 libquota_a_SOURCES = \
ecf77e
-- 
ecf77e
2.13.5
ecf77e