top_srcdir = @top_srcdir@
VPATH = @srcdir@
-SOURCES = imail.texinfo
TARGET_ROOT = mit-scheme-imail
+TEXINFO_ROOT = imail
+SOURCES = $(TEXINFO_ROOT).texinfo
include $(top_srcdir)/make-common
$(INFO_TARGET): $(SOURCES)
rm -f $(INFO_TARGET)*
- makeinfo --output=$(INFO_TARGET) $(word 1, $(SOURCES))
+ makeinfo --output=$(INFO_TARGET) $(TEXINFO_ROOT).texinfo
$(HTML_TARGET)/index.html: $(SOURCES)
rm -rf $(HTML_TARGET)
- makeinfo --html $(word 1, $(SOURCES))
+ makeinfo --html $(TEXINFO_ROOT).texinfo
$(PDF_TARGET): $(SOURCES)
- texi2pdf $(TEX_OPTIONS) --output=$@ $(word 1, $(SOURCES))
+ texi2pdf $(TEX_OPTIONS) --output=$@ $(TEXINFO_ROOT).texinfo
$(PS_TARGET): $(SOURCES)
-rm -f $(DVI_TARGET)
- texi2dvi $(TEX_OPTIONS) --output=$(DVI_TARGET) $(word 1, $(SOURCES))
+ texi2dvi $(TEX_OPTIONS) --output=$(DVI_TARGET) $(TEXINFO_ROOT).texinfo
dvips -q -o $@ $(DVI_TARGET)
rm -f $(DVI_TARGET)
clean: mostlyclean
rm -f $(INFO_TARGET)* $(PDF_TARGET) $(PS_TARGET)
rm -rf $(HTML_TARGET)
+ rm -rf $(TEXINFO_ROOT).aux $(TEXINFO_ROOT).log $(TEXINFO_ROOT).toc
+ rm -rf $(TEXINFO_ROOT).pg $(TEXINFO_ROOT).tp
+ rm -rf $(TEXINFO_ROOT).cp* $(TEXINFO_ROOT).fn* $(TEXINFO_ROOT).ky*
+ rm -rf $(TEXINFO_ROOT).nv* $(TEXINFO_ROOT).op* $(TEXINFO_ROOT).vr*
distclean: clean
rm -f Makefile
top_srcdir = @top_srcdir@
VPATH = @srcdir@
+TARGET_ROOT = mit-scheme-ref
+TEXINFO_ROOT = scheme
SOURCES = \
- scheme.texinfo \
+ $(TEXINFO_ROOT).texinfo \
acknowledgements.texi \
associations.texi \
binding-index.texi \
strings.texi \
vectors.texi \
win32-packaging.texi
-TARGET_ROOT = mit-scheme-ref
include $(top_srcdir)/make-common
top_srcdir = @top_srcdir@
VPATH = @srcdir@
-SOURCES = sos.texinfo
TARGET_ROOT = mit-scheme-sos
+TEXINFO_ROOT = sos
+SOURCES = $(TEXINFO_ROOT).texinfo
include $(top_srcdir)/make-common
top_srcdir = @top_srcdir@
VPATH = @srcdir@
-SOURCES = user.texinfo
TARGET_ROOT = mit-scheme-user
+TEXINFO_ROOT = user
+SOURCES = $(TEXINFO_ROOT).texinfo
include $(top_srcdir)/make-common