|
|
1.1 root 1: # Makefile 4.2 83/07/08
2: #
3: # Make install will build the learn lesson libraries
4: # from this directory.
5: #
6: LESSONS=C editor eqn files macros morefiles
7: FILES= Linfo Xinfo
8: DESTDIR=
9:
10: all:
11:
12: install: ${LESSONS} ${FILES}
13: -mkdir ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \
14: ${DESTDIR}/usr/lib/learn/bin
15: chmod 755 ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \
16: ${DESTDIR}/usr/lib/learn/bin
17: chown root ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \
18: ${DESTDIR}/usr/lib/learn/bin
19: chgrp staff ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \
20: ${DESTDIR}/usr/lib/learn/bin
21: @for i in ${FILES}; do \
22: echo copy $$i; \
23: install -c -m 644 $$i ${DESTDIR}/usr/lib/learn/$$i; \
24: done
25: @for i in ${LESSONS}; do \
26: echo tar $$i lessons; \
27: tar cf - $$i | (cd ${DESTDIR}/usr/lib/learn; tar xpf -); \
28: done
29:
30: clean:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.