2
# $Id: Makefile.in,v 1.4 2001/02/23 04:36:24 cph Exp $
4
# Copyright (c) 2000-2001 Massachusetts Institute of Technology
6
# This program is free software; you can redistribute it and/or
7
# modify it under the terms of the GNU General Public License as
8
# published by the Free Software Foundation; either version 2 of the
9
# License, or (at your option) any later version.
11
# This program is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
# General Public License for more details.
16
# You should have received a copy of the GNU General Public License
17
# along with this program; if not, write to the Free Software
18
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
# **** BEGIN BOILERPLATE ****
27
top_srcdir = @top_srcdir@
30
exec_prefix = @exec_prefix@
34
libexecdir = @libexecdir@
36
sysconfdir = @sysconfdir@
37
sharedstatedir = @sharedstatedir@
38
localstatedir = @localstatedir@
42
includedir = @includedir@
43
oldincludedir = /usr/include
49
INSTALL_PROGRAM = @INSTALL_PROGRAM@
50
INSTALL_DATA = @INSTALL_DATA@
51
INSTALL_SCRIPT = @INSTALL_SCRIPT@
54
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
55
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
57
# **** END BOILERPLATE ****
63
INFO_TARGET = mit-scheme-user.info
65
all: $(INFO_TARGET) user.html user.pdf user.ps
67
$(INFO_TARGET): user.texinfo gfdl.texinfo
69
makeinfo --output=$(INFO_TARGET) user.texinfo
71
user.html: user.texinfo gfdl.texinfo
73
texi2html -split_chapter user.texinfo
75
user.pdf: user.texinfo gfdl.texinfo
81
user.dvi: user.texinfo gfdl.texinfo
84
AUX_SUFFIXES = aux log toc
85
INDEX_SUFFIXES = cp fn ky pg tp vr
88
@for S in $(AUX_SUFFIXES); do \
89
echo "rm -f user.$${S}";\
92
@for S in $(INDEX_SUFFIXES); do \
93
echo "rm -f user.$${S}";\
95
echo "rm -f user.$${S}s";\
101
rm -f $(INFO_TARGET)* user*.html user.pdf user.ps
105
maintainer-clean: distclean
107
# The install rules depend on macro variables passwd down from the
108
# makefile in the top-level documentation directory.
110
install-info: $(INFO_TARGET)
111
-rm -f $(DESTDIR)$(infodir)/$(INFO_TARGET)*
112
$(INSTALL_DATA) $(INFO_TARGET)* $(DESTDIR)$(infodir)/.
114
install-info-gz: install-info
115
gzip -v $(DESTDIR)$(infodir)/$(INFO_TARGET)*
117
install-html: user.html
118
$(INSTALL_DATA) user*.html $(DESTDIR)$(htmldir)/.
120
install-pdf: user.pdf
121
$(INSTALL_DATA) user.pdf $(DESTDIR)$(pdfdir)/.
124
$(INSTALL_DATA) user.ps $(DESTDIR)$(psdir)/.
126
.PHONY: all mostlyclean clean distclean maintainer-clean
127
.PHONY: install-info install-html install-pdf install-ps