|
|
Power 6/32 Unix version 1.2b
# Makefile 4.2 83/07/08
#
# Make install will build the learn lesson libraries
# from this directory.
#
MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
LESSONS=C editor eqn files macros morefiles
FILES= Linfo Xinfo
DESTDIR=
all:
install: ${LESSONS} ${FILES}
-mkdir ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \
${DESTDIR}/usr/lib/learn/bin
chmod 755 ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \
${DESTDIR}/usr/lib/learn/bin
/etc/chown root ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \
${DESTDIR}/usr/lib/learn/bin
chgrp staff ${DESTDIR}/usr/lib/learn ${DESTDIR}/usr/lib/learn/log \
${DESTDIR}/usr/lib/learn/bin
@for i in ${FILES}; do \
echo copy $$i; \
install -c $$i ${DESTDIR}/usr/lib/learn/$$i; \
done
-@for i in ${LESSONS}; do \
echo tar $$i lessons; \
mkdir ${DESTDIR}/usr/lib/learn/$$i; \
cp $$i/[gIL]* ${DESTDIR}/usr/lib/learn/$$i; \
done
cleansrc:
rm -f L* Xinfo Makefile
rm -f C/L* editor/L* eqn/L* files/L* files/Init
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.