blob: d2f0a6fa6c44ec5c9e6303ab60cc50907e62bc11 (
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
# Makefile for as.texinfo preprocessing and TeXing
# $Id$
# see pretex.m4 for discussion of preprocessor definitions
# What version of the manual you want (see *.m4); "all" includes everything
CONFIG=a29k-coff
# Sun/Berkeley m4 doesn't have all the things we need; use GNU or sV
#M4=gm4
M4=/usr/5bin/m4
# Directory for gas source
srcdir=..
# Where to find texinfo.tex to format docn with TeX
TEXIDIR = $(srcdir)/../texinfo/fsf
as.info: as-${CONFIG}.texinfo
makeinfo -o as.info as-${CONFIG}.texinfo
# There's no index yet; when there is, add texindex call before tex 2nd pass
as.dvi: as-${CONFIG}.texinfo
TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex as-${CONFIG}.texinfo
TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex as-${CONFIG}.texinfo
mv as-${CONFIG}.dvi as.dvi
rm as-${CONFIG}.?? as-${CONFIG}.???
# ROFF doc targets as.ms, as.mm, as.me
# (we don't use a variable because we don't trust all makes to handle
# a var in the target name right).
# roff output (-ms)
as.ms: as-${CONFIG}.texinfo
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
-e 's/{.*,,/{/' \
as-${CONFIG}.texinfo | \
texi2roff -ms >as.ms
# roff output (-mm)
as.mm: as-${CONFIG}.texinfo
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
-e 's/{.*,,/{/' \
-e '/@noindent/d' \
as-${CONFIG}.texinfo | \
texi2roff -mm | \
sed -e 's/---/\\(em/g' \
>as.mm
# roff output (-me)
as.me: as-${CONFIG}.texinfo
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
-e 's/{.*,,/{/' \
as-${CONFIG}.texinfo | \
texi2roff -me >as.me
as-all.texinfo: as.texinfo pretex.m4 none.m4 all.m4
${M4} pretex.m4 none.m4 all.m4 as.texinfo >as-all.texinfo
as-a29k.texinfo: as.texinfo pretex.m4 none.m4 a29k.m4
${M4} pretex.m4 none.m4 a29k.m4 as.texinfo >as-a29k.texinfo
as-a29k-coff.texinfo: as.texinfo pretex.m4 none.m4 a29k-coff.m4
${M4} pretex.m4 none.m4 a29k-coff.m4 as.texinfo >as-a29k-coff.texinfo
as-gen.texinfo: as.texinfo pretex.m4 none.m4 gen.m4
${M4} pretex.m4 none.m4 gen.m4 as.texinfo >as-gen.texinfo
as-i80386.texinfo: as.texinfo pretex.m4 none.m4 i80386.m4
${M4} pretex.m4 none.m4 i80386.m4 as.texinfo >as-i80386.texinfo
as-i960.texinfo: as.texinfo pretex.m4 none.m4 i960.m4
${M4} pretex.m4 none.m4 i960.m4 as.texinfo >as-i960.texinfo
as-m680x0.texinfo: as.texinfo pretex.m4 none.m4 m680x0.m4
${M4} pretex.m4 none.m4 m680x0.m4 as.texinfo >as-m680x0.texinfo
as-sparc.texinfo: as.texinfo pretex.m4 none.m4 sparc.m4
${M4} pretex.m4 none.m4 sparc.m4 as.texinfo >as-sparc.texinfo
as-vax.texinfo: as.texinfo pretex.m4 none.m4 vax.m4
${M4} pretex.m4 none.m4 vax.m4 as.texinfo >as-vax.texinfo
as-vintage.texinfo: as.texinfo pretex.m4 none.m4 vintage.m4
${M4} pretex.m4 none.m4 vintage.m4 as.texinfo >as-vintage.texinfo
clean:
rm -f as-${CONFIG}.* as.dvi
|