From: Chris Hanson Date: Fri, 8 Dec 2000 20:14:24 +0000 (+0000) Subject: Rewrite makefiles for new regime. X-Git-Tag: 20090517-FFI~3073 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=68f570910ea1cc15e673e9a873ba216e66fd0b20;p=mit-scheme.git Rewrite makefiles for new regime. --- diff --git a/v7/doc/Makefile.in b/v7/doc/Makefile.in new file mode 100644 index 000000000..90ccab744 --- /dev/null +++ b/v7/doc/Makefile.in @@ -0,0 +1,103 @@ +# $Id: Makefile.in,v 1.1 2000/12/08 20:14:24 cph Exp $ +# +# Copyright (c) 2000 Massachusetts Institute of Technology +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# 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 **** + +SUBDIRS = imail ref-manual sos user-manual + +htmldir = $(libdir)/mit-scheme/doc +pdfdir = $(libdir)/mit-scheme/doc +psdir = $(libdir)/mit-scheme/doc + +all mostlyclean clean distclean maintainer-clean: + @for D in $(SUBDIRS); do \ + echo "making $@ in $${D}";\ + ( cd $${D} && $(MAKE) $@ ) || exit 1;\ + done + +tags TAGS: + +install: install-info install-html install-pdf install-ps + +install-info: + $(mkinstalldirs) $(DESTDIR)$(infodir) + @for D in $(SUBDIRS); do \ + echo "making $@ in $${D}";\ + ( cd $${D} && $(MAKE) $@ ) || exit 1;\ + done + +install-html: + $(mkinstalldirs) $(DESTDIR)$(htmldir) + @for D in $(SUBDIRS); do \ + echo "making $@ in $${D}";\ + ( cd $${D} && $(MAKE) $@ ) || exit 1;\ + done + +install-pdf: + $(mkinstalldirs) $(DESTDIR)$(pdfdir) + @for D in $(SUBDIRS); do \ + echo "making $@ in $${D}";\ + ( cd $${D} && $(MAKE) $@ ) || exit 1;\ + done + +install-ps: + $(mkinstalldirs) $(DESTDIR)$(psdir) + @for D in $(SUBDIRS); do \ + echo "making $@ in $${D}";\ + ( cd $${D} && $(MAKE) $@ ) || exit 1;\ + done + +.PHONY: all mostlyclean clean distclean maintainer-clean tags TAGS +.PHONY: install install-info install-html install-pdf install-ps diff --git a/v7/doc/configure.in b/v7/doc/configure.in new file mode 100644 index 000000000..367bab4ec --- /dev/null +++ b/v7/doc/configure.in @@ -0,0 +1,26 @@ +dnl Process this file with autoconf to produce a configure script. + +dnl Copyright (c) 2000 Massachusetts Institute of Technology +dnl +dnl This program is free software; you can redistribute it and/or +dnl modify it under the terms of the GNU General Public License as +dnl published by the Free Software Foundation; either version 2 of the +dnl License, or (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +dnl General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +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_INIT(ref-manual/scheme.texinfo) + +AC_PROG_INSTALL +AC_PROG_LN_S +AC_PROG_MAKE_SET + +AC_OUTPUT(Makefile) diff --git a/v7/doc/imail/Makefile b/v7/doc/imail/Makefile index 229d128e5..d86f03d8a 100644 --- a/v7/doc/imail/Makefile +++ b/v7/doc/imail/Makefile @@ -1,5 +1,5 @@ -# $Id: Makefile,v 1.9 2000/07/26 03:01:55 cph Exp $ +# $Id: Makefile,v 1.10 2000/12/08 20:14:24 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -17,32 +17,62 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -all: imail.ps imail.pdf imail.info html/imail.html +all: imail.info imail.html imail.pdf imail.ps -imail.ps: imail.dvi - dvips -o $@ $^ +imail.info: imail.texinfo gfdl.texinfo + rm -f imail.info* + makeinfo imail.texinfo -imail.dvi: imail.texinfo gfdl.texinfo - texi2dvi imail.texinfo +imail.html: imail.texinfo gfdl.texinfo + rm -f imail*.html + texi2html -split_chapter imail.texinfo imail.pdf: imail.texinfo gfdl.texinfo texi2pdf imail.texinfo -imail.info: imail.texinfo gfdl.texinfo - makeinfo imail.texinfo - rm -f /usr/local/lib/mit-scheme/edwin/info/imail.info* - cpx imail.info* /usr/local/lib/mit-scheme/edwin/info/. - gzip -v /usr/local/lib/mit-scheme/edwin/info/imail.info* +imail.ps: imail.dvi + dvips -o $@ $^ -html/imail.html: imail.texinfo gfdl.texinfo - (cd html;make) +imail.dvi: imail.texinfo gfdl.texinfo + texi2dvi imail.texinfo AUX_SUFFIXES = aux log toc INDEX_SUFFIXES = cp fn ky pg tp vr -clean: - rm -f imail.ps imail.dvi imail.pdf imail.info* - rm -f $(addprefix imail.,$(AUX_SUFFIXES)) - rm -f $(addprefix imail.,$(INDEX_SUFFIXES)) - rm -f $(addsuffix s,$(addprefix imail.,$(INDEX_SUFFIXES))) - $(MAKE) -C html $@ +mostlyclean: + @for S in $(AUX_SUFFIXES); do \ + echo "rm -f imail.$${S}";\ + rm -f imail.$${S};\ + done + @for S in $(INDEX_SUFFIXES); do \ + echo "rm -f imail.$${S}";\ + rm -f imail.$${S};\ + echo "rm -f imail.$${S}s";\ + rm -f imail.$${S}s;\ + done + rm -f imail.dvi + +clean: mostlyclean + rm -f imail.info* imail*.html imail.pdf imail.ps + +distclean: clean + +maintainer-clean: distclean + +# The install rules depend on macro variables passwd down from the +# makefile in the top-level documentation directory. + +install-info: imail.info + $(INSTALL_DATA) imail.info* $(DESTDIR)$(infodir)/. + +install-html: imail.html + $(INSTALL_DATA) imail*.html $(DESTDIR)$(htmldir)/. + +install-pdf: imail.pdf + $(INSTALL_DATA) imail.pdf $(DESTDIR)$(pdfdir)/. + +install-ps: imail.ps + $(INSTALL_DATA) imail.ps $(DESTDIR)$(psdir)/. + +.PHONY: all mostlyclean clean distclean maintainer-clean +.PHONY: install-info install-html install-pdf install-ps diff --git a/v7/doc/imail/html/Makefile b/v7/doc/imail/html/Makefile index ba9d0688d..256975665 100644 --- a/v7/doc/imail/html/Makefile +++ b/v7/doc/imail/html/Makefile @@ -1,5 +1,5 @@ -# $Id: Makefile,v 1.4 2000/07/24 01:10:53 cph Exp $ +# $Id: Makefile,v 1.5 2000/12/08 20:14:24 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -17,11 +17,10 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -all: imail.html +all: imail.html -imail.html: ../imail.texinfo ../gfdl.texinfo +imail.html: ../imail.texinfo ../gfdl.texinfo rm -rf *.html texi2html -split_chapter ../imail.texinfo -clean: - rm -rf *.html +.PHONY: all