]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/nhfsstone/Makefile
Use $(INSTALLSCRIPT) for scripts.
[nfs-utils.git] / utils / nhfsstone / Makefile
index d73d85a05730d01a267cdbc69e83f5580686b25a..d96d3160257c4ef56f761c676fb694a288191e34 100644 (file)
@@ -2,7 +2,15 @@
 # Makefile for nhfsstone
 #
 
+SCRIPTS        = nhfsrun nhfsnums nhfsgraph
+
 PROGRAM        = nhfsstone
 OBJS   = nhfsstone.o
+MAN8   = nhfsstone $(SCRIPTS)
 
 include $(TOP)rules.mk
+
+install::
+       for s in $(SCRIPTS); do \
+           $(INSTALLSCRIPT) $$s $(SBINDIR)/$(PREFIX)$k$$s; \
+       done