need param.h for mbuf.h now
[unix-history] / usr / src / usr.bin / learn / learnlib / Makefile
CommitLineData
7b5605a1 1#
f945a1d6
KB
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#
7b3041d1 6# @(#)Makefile 4.4 (Berkeley) %G%
7b5605a1 7#
becabf0c 8LESSONS=C editor eqn files macros morefiles
7b5605a1 9FILES= Linfo Xinfo
7b5605a1
SL
10
11all:
12
f945a1d6 13install: FRC
7b3041d1
KB
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
7b5605a1
SL
17 chmod 755 ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \
18 ${DESTDIR}/usr/lib/learn/bin
f945a1d6 19 chown root.staff ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \
7b5605a1 20 ${DESTDIR}/usr/lib/learn/bin
f945a1d6
KB
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 -);
7b5605a1
SL
24
25clean:
f945a1d6
KB
26depend:
27lint:
28tags:
29FRC: