1# 2# Copyright (c) 1987 The 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 the above copyright notice and this paragraph are 7# duplicated in all such forms and that any documentation, 8# advertising materials, and other materials related to such 9# distribution and use acknowledge that the software was developed 10# by the University of California, Berkeley. The name of the 11# University may not be used to endorse or promote products derived 12# from this software without specific prior written permission. 13# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 14# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 15# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 16# 17# @(#)Makefile 6.7 (Berkeley) 09/30/88 18# 19MELIB= /usr/lib/me 20TMLIB= /usr/lib/tmac 21MESRCS= acm.me chars.me deltext.me eqn.me float.me footnote.me \ 22 index.me letterhead.me local.me null.me refer.me sh.me tbl.me thesis.me 23TMSRCS= tmac.e 24 25all: 26 27install: FRC 28 -[ -d ${DESTDIR}${MELIB} ] || mkdir ${DESTDIR}${MELIB} 29 -[ -d ${DESTDIR}${TMLIB} ] || mkdir ${DESTDIR}${TMLIB} 30 chown bin.bin ${DESTDIR}${MELIB} ${DESTDIR}${TMLIB} 31 chmod 755 ${DESTDIR}${MELIB} ${DESTDIR}${TMLIB} 32 for i in ${MESRCS}; do \ 33 sed -f strip.sed < $$i > ${DESTDIR}${MELIB}/$$i; \ 34 chown bin.bin ${DESTDIR}${MELIB}/$$i; \ 35 chmod 444 ${DESTDIR}${MELIB}/$$i; \ 36 done 37 for i in ${TMSRCS}; do \ 38 sed -f strip.sed < $$i > ${DESTDIR}${TMLIB}/$$i; \ 39 chown bin.bin ${DESTDIR}${TMLIB}/$$i; \ 40 chmod 444 ${DESTDIR}${TMLIB}/$$i; \ 41 done 42 install -c -o bin -g bin -m 444 revisions ${DESTDIR}${MELIB}/revisions 43 44clean: 45cleandir: 46depend: 47lint: 48tags: 49FRC: 50