1# 2# Copyright (c) 1987 Regents of the University of California. 3# All rights reserved. The Berkeley software License Agreement 4# specifies the terms and conditions for redistribution. 5# 6# @(#)Makefile 4.3 (Berkeley) 07/24/87 7# 8LESSONS=C editor eqn files macros morefiles 9FILES= Linfo Xinfo 10 11all: 12 13install: FRC 14 -mkdir ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \ 15 ${DESTDIR}/usr/lib/learn/bin > /dev/null 2>&1 16 chmod 755 ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \ 17 ${DESTDIR}/usr/lib/learn/bin 18 chown root.staff ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \ 19 ${DESTDIR}/usr/lib/learn/bin 20 install -c -o bin -g bin -m 644 Linfo ${DESTDIR}/usr/lib/learn/Linfo 21 install -c -o bin -g bin -m 644 Xinfo ${DESTDIR}/usr/lib/learn/Xinfo 22 tar cf - ${LESSONS} | (cd ${DESTDIR}/usr/lib/learn; tar xpf -); 23 24clean: 25depend: 26lint: 27tags: 28FRC: 29