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

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