File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / usr.lib / learn / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (6 years, 11 months ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
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*

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.