summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/doc/Makefile.in
blob: 7c20d08d7f9144aeaad2f7c03c6b89316a49d2eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# @configure_input@
# Makefile for Web2c documentation.

kpse_include ../make/paths.mk
kpse_include ../make/common.mk
kpse_include kpathsea.mk
kpse_include ../make/texi.mk

info: web2c.info
dvi: web2c.dvi

web2c.info: install.texi ref.txi
all: web2c.info web2c.dvi

@MAINT@INSTALL: install.texi
@MAINT@	$(MAKEINFO) $(one_info) $(MAKEINFO_FLAGS) $< -o $@
@MAINT@	$(SHELL) $(top_srcdir)/../add-info-toc $@
@MAINT@doc: info INSTALL
@MAINT@
@MAINT@ref.txi: ref.bbl
@MAINT@	sed -e 's/~/ /g' \
@MAINT@	    -e 's/\\[-`'\''"c^]//g' \
@MAINT@	    -e 's/\\emdash */---/g' \
@MAINT@	    -e 's/metapost/MetaPost/g' \
@MAINT@	    -e 's/\\MF/Metafont/g' \
@MAINT@	    -e 's/\\METAFONT/METAFONT/g' \
@MAINT@	    -e 's/\\TUB/TUGboat/g' \
@MAINT@	    -e 's/\\LaTeX/La@TeX/g' \
@MAINT@	    -e 's/\\AMSTEX/AMS@TeX/g' \
@MAINT@	    -e 's/\\AmSTeX/AMS@TeX/g' \
@MAINT@	    -e 's/\\TeX/@TeX/g' \
@MAINT@	    -e 's/\\noopsort{[^}]*}//g' \
@MAINT@	    -e 's/[{}\]//g' \
@MAINT@	    -e 's/@\[/{/g' \
@MAINT@	    -e 's/@\]/}/g' \
@MAINT@	    -e 's/@TeX/@TeX{}/g' \
@MAINT@	$< >$@
@MAINT@
@MAINT@ref.bbl: ref.aux texinfo.bst
@MAINT@	-bibtex ref
@MAINT@
@MAINT@ref.aux: ref.tex
@MAINT@	rm -f ref.bbl
@MAINT@	tex '\nonstopmode \input ref'

Makefile: Makefile.in ../config.status
	cd .. && $(SHELL) config.status

install: install-exec install-data
install-exec:
install-data: web2c.info
	$(SHELL) $(top_srcdir)/../mkinstalldirs $(infodir)
	test -r ./web2c.info || cd $(srcdir) && for i in web2c.i*; do \
	  $(INSTALL_DATA) $$i $(infodir)/$$i; done
	$(POST_INSTALL)
	if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
	  install-info --info-dir=$(infodir) $(infodir)/web2c.info; \
	else true; fi

check: all

#html: texi2html -expandinfo -number -menu -split_chapter

kpse_include ../make/clean.mk