diff mbox

[nfs-utils,v3,17/17] mountstats: add ms-iostat and ms-nfsstat to Makefile.am

Message ID 1418068645-10134-18-git-send-email-smayhew@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Scott Mayhew Dec. 8, 2014, 7:57 p.m. UTC
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
---
 tools/mountstats/Makefile.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/tools/mountstats/Makefile.am b/tools/mountstats/Makefile.am
index c2e9f99..05cc4e5 100644
--- a/tools/mountstats/Makefile.am
+++ b/tools/mountstats/Makefile.am
@@ -1,7 +1,7 @@ 
 ## Process this file with automake to produce Makefile.in
 PYTHON_FILES =  mountstats.py
 
-man8_MANS	= mountstats.man
+man8_MANS	= mountstats.man ms-iostat.man ms-nfsstat.man
 
 EXTRA_DIST	= $(man8_MANS) $(PYTHON_FILES)
 
@@ -9,5 +9,7 @@  all-local: $(PYTHON_FILES)
 
 install-data-hook:
 	$(INSTALL) -m 755 mountstats.py $(DESTDIR)$(sbindir)/mountstats
+	ln -sf $(DESTDIR)$(sbindir)/mountstats $(DESTDIR)$(sbindir)/ms-iostat
+	ln -sf $(DESTDIR)$(sbindir)/mountstats $(DESTDIR)$(sbindir)/ms-nfsstat
 
 MAINTAINERCLEANFILES=Makefile.in