summaryrefslogtreecommitdiffstats
path: root/util/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/Makefile')
-rw-r--r--util/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/util/Makefile b/util/Makefile
index 6babd188..5dfe6c19 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.26 2003/03/29 08:01:49 in2 Exp $
+# $Id: Makefile,v 1.27 2003/03/29 09:53:34 in2 Exp $
BBSHOME?=$(HOME)
OSTYPE!=uname
@@ -169,6 +169,11 @@ shmctl: shmctl.c $(OBJS)
diskstat: diskstat.c
$(CC) $(CFLAGS) -o diskstat diskstat.c -ldevstat -lkvm
+installdiskstat: diskstat
+ cp -f diskstat /usr/local/bin/
+ chgrp kmem /usr/local/bin/diskstat
+ chmod 2755 /usr/local/bin/diskstat
+
install: $(PROGS)
install -d $(BBSHOME)/bin/
install -c -m 755 $(PROGS) $(BBSHOME)/bin/