#
# Makefile for distributing the Scheme->C documentation.
#

port:

clean:
	rm -f *.BAK *.CKP *.o core

clean-sc-to-c:
	rm -f *.c

noprogs:

install:
	-install -c scc.l ${DESTROOT}/usr/local/man/man1/scc.1
	-install -c sci.l ${DESTROOT}/usr/local/man/man1/sci.1
	-mkdir ${DESTROOT}/usr/doc/local/schemetoc
	-install -c intro.psf ${DESTROOT}/usr/doc/local/schemetoc/intro.psf
	-install -c index.psf ${DESTROOT}/usr/doc/local/schemetoc/index.psf

srcdist:
	rdist -c README makefile-tail index.psf index.mss intro.psf intro.mss \
	      scc.l sci.l ${destdir}

bindist:
	rdist -c README makefile-tail makefile index.psf intro.psf \
	      scc.l sci.l ${destdir}

srclinks:
	ln -s ${SRCDIR}/index.psf index.psf
	ln -s ${SRCDIR}/index.mss index.mss
	ln -s ${SRCDIR}/intro.psf intro.psf
	ln -s ${SRCDIR}/intro.mss intro.mss
	ln -s ${SRCDIR}/scc.l scc.l
	ln -s ${SRCDIR}/sci.l sci.l
	
all:
