1# 2# Copyright (c) 1987 Regents of the University of California. 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms are permitted 6# provided that this notice is preserved and that due credit is given 7# to the University of California at Berkeley. The name of the University 8# may not be used to endorse or promote products derived from this 9# software without specific prior written permission. This software 10# is provided ``as is'' without express or implied warranty. 11# 12# @(#)Makefile 6.5 (Berkeley) 05/19/88 13# 14MELIB= /usr/lib/me 15TMLIB= /usr/lib/tmac 16MESRCS= acm.me chars.me deltext.me eqn.me float.me footnote.me \ 17 index.me letterhead.me local.me null.me refer.me sh.me tbl.me thesis.me 18TMSRCS= tmac.e 19 20all: 21 22install: FRC 23 -[ -d ${DESTDIR}${MELIB} ] || mkdir ${DESTDIR}${MELIB} 24 -[ -d ${DESTDIR}${TMLIB} ] || mkdir ${DESTDIR}${TMLIB} 25 chown bin.bin ${DESTDIR}${MELIB} ${DESTDIR}${TMLIB} 26 chmod 755 ${DESTDIR}${MELIB} ${DESTDIR}${TMLIB} 27 for i in ${MESRCS}; do \ 28 sed -f strip.sed < $$i > ${DESTDIR}${MELIB}/$$i; \ 29 chown bin.bin ${DESTDIR}${MELIB}/$$i; \ 30 chmod 444 ${DESTDIR}${MELIB}/$$i; \ 31 done 32 for i in ${TMSRCS}; do \ 33 sed -f strip.sed < $$i > ${DESTDIR}${TMLIB}/$$i; \ 34 chown bin.bin ${DESTDIR}${TMLIB}/$$i; \ 35 chmod 444 ${DESTDIR}${TMLIB}/$$i; \ 36 done 37 install -c -o bin -g bin -m 444 revisions ${DESTDIR}${MELIB}/revisions 38 39clean: 40depend: 41FRC: 42