summaryrefslogtreecommitdiff
path: root/usr.sbin/manctl
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>1996-06-23 22:03:56 +0000
committerWolfram Schneider <wosch@FreeBSD.org>1996-06-23 22:03:56 +0000
commit766cdadf0151f13631263a58da1794df34a838c4 (patch)
tree55eaffc8860e3fccf71b867fe8de3208b3e14ec6 /usr.sbin/manctl
parent16f571e7364b5358441226ef4ab4338bf309db66 (diff)
Notes
Diffstat (limited to 'usr.sbin/manctl')
-rw-r--r--usr.sbin/manctl/Makefile11
-rw-r--r--usr.sbin/manctl/manctl.sh4
2 files changed, 7 insertions, 8 deletions
diff --git a/usr.sbin/manctl/Makefile b/usr.sbin/manctl/Makefile
index f56c66d2304d..c3bf19108000 100644
--- a/usr.sbin/manctl/Makefile
+++ b/usr.sbin/manctl/Makefile
@@ -1,11 +1,10 @@
# Makefile
-# $Id: Makefile,v 1.3 1994/05/26 07:52:23 csgr Exp $
+# $Id: Makefile,v 1.7 1996/01/23 23:59:34 wosch Exp $
-all:
- @echo -n
+MAN8= manctl.8
-install: all
- install -c -o ${BINOWN} -g ${BINGRP} -m 555 ${.CURDIR}/manctl.sh \
- ${DESTDIR}/usr/sbin/manctl
+beforeinstall:
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${.CURDIR}/manctl.sh ${DESTDIR}${BINDIR}/manctl
.include <bsd.prog.mk>
diff --git a/usr.sbin/manctl/manctl.sh b/usr.sbin/manctl/manctl.sh
index 83ee61995c60..f75c234460a3 100644
--- a/usr.sbin/manctl/manctl.sh
+++ b/usr.sbin/manctl/manctl.sh
@@ -30,7 +30,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $Id: manctl.sh,v 1.4 1994/04/18 18:46:50 csgr Exp $
+# $Id: manctl.sh,v 1.6 1996/01/23 23:59:36 wosch Exp $
#
# manctl:
# a utility for manipulating manual pages
@@ -366,7 +366,7 @@ do_compress()
#
# dispatch options
#
-if [ $# = 0 ] ; then ctl_usage $0 ; fi ;
+if [ $# -lt 2 ] ; then ctl_usage $0 ; fi ;
case "$1" in
-compress) shift ; do_compress "$@" ;;