|
|
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: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
7:
8: LESSONS=C editor eqn files macros morefiles
9: FILES= Linfo Xinfo
10: DESTDIR=
11:
12: all:
13:
14: install: ${LESSONS} ${FILES}
15: -mkdir ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \
16: ${DESTDIR}/usr/lib/learn/bin
17: chmod 755 ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \
18: ${DESTDIR}/usr/lib/learn/bin
19: /etc/chown root ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \
20: ${DESTDIR}/usr/lib/learn/bin
21: chgrp staff ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \
22: ${DESTDIR}/usr/lib/learn/bin
23: @for i in ${FILES}; do \
24: echo copy $$i; \
25: install -c $$i ${DESTDIR}/usr/lib/learn/$$i; \
26: done
27: -@for i in ${LESSONS}; do \
28: echo tar $$i lessons; \
29: mkdir ${DESTDIR}/usr/lib/learn/$$i; \
30: cp $$i/[gIL]* ${DESTDIR}/usr/lib/learn/$$i; \
31: done
32:
33: cleansrc:
34: rm -f L* Xinfo Makefile
35: rm -f C/L* editor/L* eqn/L* files/L* files/Init
36: rm -f macros/L* morefiles/L*
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.