From: Ben Gras Date: Mon, 12 Sep 2005 12:53:17 +0000 (+0000) Subject: elvis is connected, but not installed as vi any more. X-Git-Tag: v3.1.0~117 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=6f140bbb79d837b6985d753ae1a4cbec00009f96;p=minix.git elvis is connected, but not installed as vi any more. --- diff --git a/commands/Makefile b/commands/Makefile index 6ab84d9d2..b4560cb8b 100755 --- a/commands/Makefile +++ b/commands/Makefile @@ -52,6 +52,7 @@ all install clean:: cd dhcpd && $(MAKE) $@ cd dis88 && $(MAKE) $@ cd elle && $(MAKE) $@ + cd elvis && $(MAKE) $@ cd ftp && $(MAKE) $@ cd ftpd && $(MAKE) $@ cd ftpd200 && $(MAKE) $@ diff --git a/commands/elvis/Makefile b/commands/elvis/Makefile index d59f9ec1c..4d90059ce 100755 --- a/commands/elvis/Makefile +++ b/commands/elvis/Makefile @@ -59,16 +59,13 @@ elvprsv: elvprsv.c $(CC) $(CFLAGS) $(LDFLAGS) -o elvprsv elvprsv.c ctype.o install -S 4kw $@ -install: /usr/bin/elvis /usr/bin/ex /usr/bin/vi \ +install: /usr/bin/elvis \ /usr/bin/ctags /usr/bin/ref /usr/bin/fmt \ /usr/bin/elvrec /usr/bin/elvprsv /usr/bin/elvis: elvis install -cs -o bin elvis $@ -/usr/bin/ex /usr/bin/vi: /usr/bin/elvis - install -l /usr/bin/elvis $@ - /usr/bin/ctags: ctags install -cs -o bin ctags $@ diff --git a/commands/scripts/binsizes.sh b/commands/scripts/binsizes.sh index fa0b7e0ad..b37dd83b8 100644 --- a/commands/scripts/binsizes.sh +++ b/commands/scripts/binsizes.sh @@ -1,5 +1,12 @@ #!/bin/sh + t=/usr/src/etc/binary_sizes + +if [ "$#" -ne 1 ] +then echo "Usage: $0 " + exit 1 +fi + if [ "$1" = big ] then t=$t.big fi