minor cleanups
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 23 Apr 1988 03:16:19 +0000 (19:16 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 23 Apr 1988 03:16:19 +0000 (19:16 -0800)
SCCS-vsn: share/me/Makefile 6.4

usr/src/share/me/Makefile

index 7469708..0c66139 100644 (file)
@@ -1,35 +1,40 @@
 #
 # Copyright (c) 1987 Regents of the University of California.
 #
 # Copyright (c) 1987 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
+# All rights reserved.
 #
 #
-#      @(#)Makefile    6.3     (Berkeley)      %G%
+# Redistribution and use in source and binary forms are permitted
+# provided that this notice is preserved and that due credit is given
+# to the University of California at Berkeley. The name of the University
+# may not be used to endorse or promote products derived from this
+# software without specific prior written permission. This software
+# is provided ``as is'' without express or implied warranty.
 #
 #
-CFLAGS=        -O
-LIBC=  /lib/libc.a
-LIB=   /usr/lib/me
-SRCS=  tmac.e acm.me chars.me deltext.me eqn.me float.me footnote.me \
+#      @(#)Makefile    6.4 (Berkeley) %G%
+#
+MELIB= /usr/lib/me
+TMLIB= /usr/lib/tmac
+MESRCS=        acm.me chars.me deltext.me eqn.me float.me footnote.me \
        index.me local.me null.me refer.me sh.me tbl.me thesis.me
        index.me local.me null.me refer.me sh.me tbl.me thesis.me
+TMSRCS=        tmac.e
 
 all:
 
 install: FRC
 
 all:
 
 install: FRC
-       -[ -d ${DESTDIR}${LIB} ] || mkdir ${DESTDIR}${LIB}
-       chown bin.bin ${DESTDIR}${LIB}
-       chmod 755 ${DESTDIR}${LIB}
-       -for i in ${SRCS}; do \
-               sed -e '/%beginstrip%/{' \
-                   -e 'h' \
-                   -e 's/.*/.\\" This version has had comments stripped; an unstripped version is available./p' \
-                   -e 'g' \
-                   -e '}' \
-                   -e '/%beginstrip%/,$$s/[.   ][      ]*\\".*//' \
-                   -e '/^$$/d' \
-                   -e '/\\n@/d' $$i > _mac_tmp_; \
-               install -o bin -g bin -m 444 _mac_tmp_ ${DESTDIR}${LIB}/$$i; \
+       -[ -d ${DESTDIR}${MELIB} ] || mkdir ${DESTDIR}${MELIB}
+       -[ -d ${DESTDIR}${TMLIB} ] || mkdir ${DESTDIR}${TMLIB}
+       chown bin.bin ${DESTDIR}${MELIB} ${DESTDIR}${TMLIB}
+       chmod 755 ${DESTDIR}${MELIB} ${DESTDIR}${TMLIB}
+       for i in ${MESRCS}; do \
+               sed -f strip.sed < $$i > ${DESTDIR}${MELIB}/$$i; \
+               chown bin.bin ${DESTDIR}${MELIB}/$$i; \
+               chmod 444 ${DESTDIR}${MELIB}/$$i; \
+       done
+       for i in ${TMSRCS}; do \
+               sed -f strip.sed < $$i > ${DESTDIR}${TMLIB}/$$i; \
+               chown bin.bin ${DESTDIR}${TMLIB}/$$i; \
+               chmod 444 ${DESTDIR}${TMLIB}/$$i; \
        done
        done
-       mv ${DESTDIR}${LIB}/tmac.e ${DESTDIR}/usr/lib/tmac/tmac.e
-       install -c -o bin -g bin -m 444 revisions ${DESTDIR}${LIB}/revisions
+       install -c -o bin -g bin -m 444 revisions ${DESTDIR}${MELIB}/revisions
 
 clean:
 depend:
 
 clean:
 depend: