-# $Id: Makefile.in,v 1.1 2000/12/08 20:14:24 cph Exp $
+# $Id: Makefile.in,v 1.2 2000/12/08 21:01:23 cph Exp $
#
# Copyright (c) 2000 Massachusetts Institute of Technology
#
# **** END BOILERPLATE ****
+htmldir = @htmldir@
+pdfdir = @pdfdir@
+psdir = @psdir@
+INST_TARGETS = @INST_TARGETS@
+
SUBDIRS = imail ref-manual sos user-manual
+DISTCLEAN_FILES = Makefile */Makefile config.cache config.log config.status
+
+all:
+ @for D in $(SUBDIRS); do \
+ echo "making $@ in $${D}";\
+ ( cd $${D} && $(MAKE) $@ ) || exit 1;\
+ done
+
+mostlyclean:
+ @for D in $(SUBDIRS); do \
+ echo "making $@ in $${D}";\
+ ( cd $${D} && $(MAKE) $@ ) || exit 1;\
+ done
+
+clean:
+ @for D in $(SUBDIRS); do \
+ echo "making $@ in $${D}";\
+ ( cd $${D} && $(MAKE) $@ ) || exit 1;\
+ done
-htmldir = $(libdir)/mit-scheme/doc
-pdfdir = $(libdir)/mit-scheme/doc
-psdir = $(libdir)/mit-scheme/doc
+distclean:
+ @for D in $(SUBDIRS); do \
+ echo "making $@ in $${D}";\
+ ( cd $${D} && $(MAKE) $@ ) || exit 1;\
+ done
+ rm -f $(DISTCLEAN_FILES)
-all mostlyclean clean distclean maintainer-clean:
+maintainer-clean:
@for D in $(SUBDIRS); do \
echo "making $@ in $${D}";\
( cd $${D} && $(MAKE) $@ ) || exit 1;\
done
+ rm -f $(DISTCLEAN_FILES) configure
tags TAGS:
-install: install-info install-html install-pdf install-ps
+install: install-info $(INST_TARGETS)
install-info:
$(mkinstalldirs) $(DESTDIR)$(infodir)
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-AC_REVISION([$Id: configure.in,v 1.1 2000/12/08 20:14:24 cph Exp $])
+AC_REVISION([$Id: configure.in,v 1.2 2000/12/08 21:01:23 cph Exp $])
AC_INIT(ref-manual/scheme.texinfo)
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
-AC_OUTPUT(Makefile)
+INST_TARGETS=
+
+enable_html=yes
+AC_ARG_ENABLE(html, [generate HTML documentation])
+if test "${enable_html}" = "yes"; then
+ htmldir="${libdir}/mit-scheme/doc"
+elif test "${enable_html}" = "no"; then
+ htmldir=
+else
+ htmldir="${enable_html}"
+fi
+test "${htmldir}" = "" || INST_TARGETS="${INST_TARGETS} install-html"
+AC_SUBST(htmldir)
+
+enable_pdf=yes
+AC_ARG_ENABLE(pdf, [generate PDF documentation])
+if test "${enable_pdf}" = "yes"; then
+ pdfdir="${libdir}/mit-scheme/doc"
+elif test "${enable_pdf}" = "no"; then
+ pdfdir=
+else
+ pdfdir="${enable_pdf}"
+fi
+test "${pdfdir}" = "" || INST_TARGETS="${INST_TARGETS} install-pdf"
+AC_SUBST(pdfdir)
+
+enable_ps=yes
+AC_ARG_ENABLE(ps, [generate Postscript documentation])
+if test "${enable_ps}" = "yes"; then
+ psdir="${libdir}/mit-scheme/doc"
+elif test "${enable_ps}" = "no"; then
+ psdir=
+else
+ psdir="${enable_ps}"
+fi
+test "${psdir}" = "" || INST_TARGETS="${INST_TARGETS} install-ps"
+AC_SUBST(psdir)
+
+AC_SUBST(INST_TARGETS)
+
+AC_OUTPUT(Makefile imail/Makefile ref-manual/Makefile sos/Makefile user-manual/Makefile)
-# $Id: Makefile,v 1.10 2000/12/08 20:14:24 cph Exp $
+# $Id: Makefile.in,v 1.1 2000/12/08 21:01:23 cph Exp $
#
# Copyright (c) 2000 Massachusetts Institute of Technology
#
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# **** BEGIN BOILERPLATE ****
+
+SHELL = @SHELL@
+
+@SET_MAKE@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+top_builddir = .
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+
+LN_S = @LN_S@
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+
+# **** END BOILERPLATE ****
+
+htmldir = @htmldir@
+pdfdir = @pdfdir@
+psdir = @psdir@
+
all: imail.info imail.html imail.pdf imail.ps
imail.info: imail.texinfo gfdl.texinfo
--- /dev/null
+#! /bin/sh
+# mkinstalldirs --- make directory hierarchy
+# Author: Noah Friedman <friedman@prep.ai.mit.edu>
+# Created: 1993-05-16
+# Public domain
+
+# $Id: mkinstalldirs,v 1.1 2000/12/08 21:01:23 cph Exp $
+
+errstatus=0
+
+for file
+do
+ set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
+ shift
+
+ pathcomp=
+ for d
+ do
+ pathcomp="$pathcomp$d"
+ case "$pathcomp" in
+ -* ) pathcomp=./$pathcomp ;;
+ esac
+
+ if test ! -d "$pathcomp"; then
+ echo "mkdir $pathcomp"
+
+ mkdir "$pathcomp" || lasterr=$?
+
+ if test ! -d "$pathcomp"; then
+ errstatus=$lasterr
+ fi
+ fi
+
+ pathcomp="$pathcomp/"
+ done
+done
+
+exit $errstatus
+
+# mkinstalldirs ends here
-# $Id: Makefile,v 1.5 2000/12/08 20:14:24 cph Exp $
+# $Id: Makefile.in,v 1.1 2000/12/08 21:01:23 cph Exp $
#
# Copyright (c) 2000 Massachusetts Institute of Technology
#
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# **** BEGIN BOILERPLATE ****
+
+SHELL = @SHELL@
+
+@SET_MAKE@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+top_builddir = .
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+
+LN_S = @LN_S@
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+
+# **** END BOILERPLATE ****
+
+htmldir = @htmldir@
+pdfdir = @pdfdir@
+psdir = @psdir@
+
all: scheme.info scheme.html scheme.pdf scheme.ps
scheme.info: scheme.texinfo gfdl.texinfo
-# $Id: Makefile,v 2.6 2000/12/08 20:14:24 cph Exp $
+# $Id: Makefile.in,v 2.1 2000/12/08 21:01:23 cph Exp $
#
# Copyright (c) 2000 Massachusetts Institute of Technology
#
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# **** BEGIN BOILERPLATE ****
+
+SHELL = @SHELL@
+
+@SET_MAKE@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+top_builddir = .
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+
+LN_S = @LN_S@
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+
+# **** END BOILERPLATE ****
+
+htmldir = @htmldir@
+pdfdir = @pdfdir@
+psdir = @psdir@
+
all: sos.info sos.html sos.pdf sos.ps
sos.info: sos.texinfo gfdl.texinfo
-# $Id: Makefile,v 1.8 2000/12/08 20:14:24 cph Exp $
+# $Id: Makefile.in,v 1.1 2000/12/08 21:01:23 cph Exp $
#
# Copyright (c) 2000 Massachusetts Institute of Technology
#
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# **** BEGIN BOILERPLATE ****
+
+SHELL = @SHELL@
+
+@SET_MAKE@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+top_builddir = .
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+
+LN_S = @LN_S@
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+
+# **** END BOILERPLATE ****
+
+htmldir = @htmldir@
+pdfdir = @pdfdir@
+psdir = @psdir@
+
all: user.info user.html user.pdf user.ps
user.info: user.texinfo gfdl.texinfo