From 6f140bbb79d837b6985d753ae1a4cbec00009f96 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 12 Sep 2005 12:53:17 +0000 Subject: [PATCH] elvis is connected, but not installed as vi any more. --- commands/Makefile | 1 + commands/elvis/Makefile | 5 +---- commands/scripts/binsizes.sh | 7 +++++++ 3 files changed, 9 insertions(+), 4 deletions(-) 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 -- 2.44.0