diff options
author | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-02-22 12:28:47 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2022-02-23 11:45:51 -0500 |
commit | 475857723dee84a68b675a56ca0ea2e81c2f626e (patch) | |
tree | 45e908791994ef471ca08658b380c32478394438 | |
parent | ddc633fd57caf8a66d4714091a7f31da59afa7f2 (diff) | |
download | nfs-utils-475857723dee84a68b675a56ca0ea2e81c2f626e.tar.gz |
rpcctl: Add installation to the Makefilenfs-utils-2-6-2-rc2
And create a shell script that launches the python program from the $(libdir)
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | tools/Makefile.am | 2 | ||||
-rw-r--r-- | tools/rpcctl/Makefile.am | 13 |
3 files changed, 15 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 50e9b32..e0f5a93 100644 --- a/configure.ac +++ b/configure.ac @@ -737,6 +737,7 @@ AC_CONFIG_FILES([ tools/rpcgen/Makefile tools/mountstats/Makefile tools/nfs-iostat/Makefile + tools/rpcctl/Makefile tools/nfsdclnts/Makefile tools/nfsconf/Makefile tools/nfsdclddb/Makefile diff --git a/tools/Makefile.am b/tools/Makefile.am index 9b4b080..c3feabb 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -12,6 +12,6 @@ if CONFIG_NFSDCLD OPTDIRS += nfsdclddb endif -SUBDIRS = locktest rpcdebug nlmtest mountstats nfs-iostat nfsdclnts $(OPTDIRS) +SUBDIRS = locktest rpcdebug nlmtest mountstats nfs-iostat rpcctl nfsdclnts $(OPTDIRS) MAINTAINERCLEANFILES = Makefile.in diff --git a/tools/rpcctl/Makefile.am b/tools/rpcctl/Makefile.am new file mode 100644 index 0000000..33fb431 --- /dev/null +++ b/tools/rpcctl/Makefile.am @@ -0,0 +1,13 @@ +## Process this file with automake to produce Makefile.in +PYTHON_FILES = rpcctl.py + +man8_MANS = rpcctl.man + +EXTRA_DIST = $(man8_MANS) $(PYTHON_FILES) + +all-local: $(PYTHON_FILES) + +install-data-hook: + $(INSTALL) -m 755 rpcctl.py $(DESTDIR)$(sbindir)/rpcctl + +MAINTAINERCLEANFILES=Makefile.in |