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.4 (Berkeley) 10/03/87 7# 8LESSONS=C editor eqn files macros morefiles 9FILES= Linfo Xinfo 10 11all: 12 13install: FRC 14 -[ -d ${DESTDIR}/usr/lib/learn ] || mkdir ${DESTDIR}/usr/lib/learn 15 -[ -d ${DESTDIR}/usr/lib/learn/log ] || mkdir ${DESTDIR}/usr/lib/learn/log 16 -[ -d ${DESTDIR}/usr/lib/learn/bin ] || mkdir ${DESTDIR}/usr/lib/learn/bin 17 chmod 755 ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \ 18 ${DESTDIR}/usr/lib/learn/bin 19 chown root.staff ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \ 20 ${DESTDIR}/usr/lib/learn/bin 21 install -c -o bin -g bin -m 644 Linfo ${DESTDIR}/usr/lib/learn/Linfo 22 install -c -o bin -g bin -m 644 Xinfo ${DESTDIR}/usr/lib/learn/Xinfo 23 tar cf - ${LESSONS} | (cd ${DESTDIR}/usr/lib/learn; tar xpf -); 24 25clean: 26depend: 27lint: 28tags: 29FRC: 30