]> Zhao Yanbai Git Server - minix.git/commitdiff
elvis is connected, but not installed as vi any more.
authorBen Gras <ben@minix3.org>
Mon, 12 Sep 2005 12:53:17 +0000 (12:53 +0000)
committerBen Gras <ben@minix3.org>
Mon, 12 Sep 2005 12:53:17 +0000 (12:53 +0000)
commands/Makefile
commands/elvis/Makefile
commands/scripts/binsizes.sh

index 6ab84d9d2c225dbced5c350a03f2c7489b488e47..b4560cb8b6cf0697db699b2f2f4316322d5d6e96 100755 (executable)
@@ -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) $@
index d59f9ec1ca630fd2a7c3f9c5ee5b989a35a403ec..4d90059cea7be9afff3edc7585ee6d7b8292a84f 100755 (executable)
@@ -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 $@
 
index fa0b7e0adab2a6aef76fbcf7d958519eb6e98640..b37dd83b85497403dbd07ba5cf536a5167a44fe2 100644 (file)
@@ -1,5 +1,12 @@
 #!/bin/sh
+
 t=/usr/src/etc/binary_sizes
+
+if [ "$#" -ne 1 ]
+then   echo "Usage: $0 <big|normal>"
+       exit 1
+fi
+
 if [ "$1" = big ]
 then t=$t.big
 fi