File:  [CSRG BSD Unix] / 43BSDTahoe / new / X / doc / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

#
# Copyright 1985, Massachusetts Institute of Technology.
#
#
# 
CONFDIR= /usr/doc
# TROFF determines what form of troff
#
# Remember to run off the index to the Xlib manual after makeing sure the 
# page number is correct in the indexmacros file...  Someday we we
# automate this procedure....
#
SUBDIR= Xlib installation Usenix

TROFF= psroff
# set for our printer
PRINTER= lpr -n -Ppsc

all:

paper:
	for i in ${SUBDIR}; do \
	    (cd $$i; echo "troffing $$i";\
	     make ${MFLAGS} TROFF="${TROFF}" PRINTER="${PRINTER}" DESTDIR=${DESTDIR} CONFDIR=${CONFDIR} paper;\
	     cd ..);\
	done

install:
	rm -rf ${DESTDIR}${CONFDIR}/X.old
#	-mv -f ${DESTDIR}${CONFDIR}/X ${DESTDIR}${CONFDIR}/X.old
	-mkdir ${DESTDIR}${CONFDIR}/X > /dev/null 2>&1
	cp -r ${SUBDIR} ${DESTDIR}${CONFDIR}/X

clean:
	for i in ${SUBDIR}; do \
	    (cd $$i; echo "cleaning $$i";\
	     make ${MFLAGS} clean;\
	     cd ..);\
	done
	rm -f *~ \#* *.bak *.BAK

unix.superglobalmegacorp.com

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