From c7ddf2e5cbd6505895d59aebb1c620ea2c7eabc7 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Fri, 21 Mar 2014 18:31:05 -0700 Subject: [PATCH] NFS-LS: Build nfs-ls as utils and make it install under bin --- Makefile.am | 2 +- configure.ac | 1 + examples/Makefile.am | 2 +- {examples => utils}/nfs-ls.c | 0 4 files changed, 3 insertions(+), 2 deletions(-) rename {examples => utils}/nfs-ls.c (100%) diff --git a/Makefile.am b/Makefile.am index fdd4c98..f01dba3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = doc mount nfs nlm nsm portmap rquota lib include . $(MAYBE_EXAMPLES) +SUBDIRS = doc mount nfs nlm nsm portmap rquota lib include utils . $(MAYBE_EXAMPLES) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libnfs.pc diff --git a/configure.ac b/configure.ac index 43ffc6c..9288b1c 100644 --- a/configure.ac +++ b/configure.ac @@ -164,6 +164,7 @@ AC_CONFIG_FILES([Makefile] [nsm/Makefile] [portmap/Makefile] [rquota/Makefile] + [utils/Makefile] [examples/Makefile] ) diff --git a/examples/Makefile.am b/examples/Makefile.am index d73d8fa..fdf9fbd 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,4 +1,4 @@ -noinst_PROGRAMS = nfsclient-async nfsclient-raw nfsclient-sync nfsclient-bcast nfsclient-listservers nfs-ls nfs-cp nfs-io portmap-client +noinst_PROGRAMS = nfsclient-async nfsclient-raw nfsclient-sync nfsclient-bcast nfsclient-listservers nfs-cp nfs-io portmap-client AM_CPPFLAGS = \ -I$(abs_top_srcdir)/include \ diff --git a/examples/nfs-ls.c b/utils/nfs-ls.c similarity index 100% rename from examples/nfs-ls.c rename to utils/nfs-ls.c -- 2.34.1