move to /usr/old
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 23 Nov 1988 05:55:36 +0000 (21:55 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 23 Nov 1988 05:55:36 +0000 (21:55 -0800)
SCCS-vsn: old/more/Makefile 5.7
SCCS-vsn: old/more/more.c 5.20

usr/src/old/more/Makefile
usr/src/old/more/more.c

index ef899f1..dd1e078 100644 (file)
@@ -14,7 +14,7 @@
 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 #
 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 #
-#      @(#)Makefile    5.6 (Berkeley) %G%
+#      @(#)Makefile    5.7 (Berkeley) %G%
 #
 CFLAGS=        -O
 LIBC=  /lib/libc.a
 #
 CFLAGS=        -O
 LIBC=  /lib/libc.a
@@ -24,8 +24,8 @@ MAN=  more.0
 
 all: more
 
 
 all: more
 
-more: ${OBJS} ${LIBC}
-       ${CC} -o $@ ${CFLAGS} ${OBJS} -ltermcap
+more: ${LIBC}
+       ${CC} -o $@ $@.c ${CFLAGS} -ltermcap
 
 clean:
        rm -f ${OBJS} core more
 
 clean:
        rm -f ${OBJS} core more
@@ -37,13 +37,13 @@ depend: ${SRCS}
        mkdep ${CFLAGS} ${SRCS}
 
 install: ${MAN}
        mkdep ${CFLAGS} ${SRCS}
 
 install: ${MAN}
-       install -s -o bin -g bin -m 755 more ${DESTDIR}/usr/ucb/more
-       rm -f ${DESTDIR}/usr/ucb/page
-       ln ${DESTDIR}/usr/ucb/more ${DESTDIR}/usr/ucb/page
-       install -c -o bin -g bin -m 644 more.help ${DESTDIR}/usr/lib/more.help
-       install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat1
-       rm -f ${DESTDIR}/usr/man/cat1/page.0
-       ln ${DESTDIR}/usr/man/cat1/more.0 ${DESTDIR}/usr/man/cat1/page.0
+       install -s -o bin -g bin -m 755 more ${DESTDIR}/usr/old
+       rm -f ${DESTDIR}/usr/old/page
+       ln ${DESTDIR}/usr/old/more ${DESTDIR}/usr/old/page
+       install -c -o bin -g bin -m 644 more.help ${DESTDIR}/usr/lib/omore.help
+       install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat.old
+       rm -f ${DESTDIR}/usr/man/cat.old/page.0
+       ln ${DESTDIR}/usr/man/cat.old/more.0 ${DESTDIR}/usr/man/cat.old/page.0
 
 lint: ${SRCS}
        lint ${CFLAGS} ${SRCS}
 
 lint: ${SRCS}
        lint ${CFLAGS} ${SRCS}
index 73c0b29..41a5a89 100644 (file)
@@ -22,7 +22,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)more.c     5.19 (Berkeley) %G%";
+static char sccsid[] = "@(#)more.c     5.20 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -46,7 +46,7 @@ static char sccsid[] = "@(#)more.c    5.19 (Berkeley) %G%";
 #include <a.out.h>
 #include <varargs.h>
 
 #include <a.out.h>
 #include <varargs.h>
 
-#define HELPFILE       "/usr/lib/more.help"
+#define HELPFILE       "/usr/lib/omore.help"
 #define VI             "/usr/ucb/vi"
 
 #define Fopen(s,m)     (Currline = 0,file_pos=0,fopen(s,m))
 #define VI             "/usr/ucb/vi"
 
 #define Fopen(s,m)     (Currline = 0,file_pos=0,fopen(s,m))