# transcript/man/Makefile
#
# Copyright 1985,1987 Adobe Systems Incorporated. All rights reserved.
# GOVERNMENT END USERS: See notice of rights in Notice file in release directory.
# RCSID: $Header: /afs/dev.mit.edu/source/src80/third/unsupported/transcript-v2.1/man/RCS/Imakefile,v 1.2 1991/07/28 09:31:45 lwvanels Exp $

.SUFFIXES: .1 .1p .7 .7p .8 .8p

PAGES1 = transcript.1 enscript.1 ps4014.1 ps630.1 pscat.1 psdit.1 psplot.1 \
	psrev.1 psroff.1 ptroff.1 psfonts.1 pssymbols.1
PAGES7 = afm.7 postscript.7
PAGES8 = pscatmap.8 pscomm.8

PAGES = ${PAGES1} ${PAGES7} ${PAGES8}

programs all:: ${PAGES}

.1p.1 .7p.7 .8p.8:
	sed	-e s,XPSLIBDIRX,$$PSLIBDIR,g \
		-e s,XTROFFFONTDIRX,$$TROFFFONTDIR,g \
		-e s,XTROFFFONTDIRX,$$TROFFFONTDIR,g \
		-e s,XPSTEMPDIRX,$$PSTEMPDIR,g \
		-e s,XDITDIRX,$$DITDIR,g \
		$< > $@

install_man(transcript.1,transcript.1)
install_man(enscript.1,enscript.1)
install_man(ps4014.1,ps4014.1)
install_man(ps630.1,ps630.1)
install_man(pscat.1,pscat.1)
install_man(psdit.1,psdit.1)
install_man(psplot.1,psplot.1)
install_man(psrev.1,psrev.1)
install_man(psroff.1,psroff.1)
install_man(ptroff.1,ptroff.1)
install_man(psfonts.1,psfonts.1)
install_man(pssymbols.1,pssymbols.1)
install_man(afm.7,afm.7)
install_man(postscript.7,postscript.7)
install_man(pscatmap.8,pscatmap.8)
install_man(pscomm.8,pscomm.8)

clean::
	rm -f - ${PAGES} *.BAK *.CKP .emacs_[0-9]*
