OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [libgloss/] [doc/] [Makefile.in] - Blame information for rev 1773

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1005 ivang
# Copyright (c) 1995, 1996 Cygnus Support
2
#
3
# The authors hereby grant permission to use, copy, modify, distribute,
4
# and license this software and its documentation for any purpose, provided
5
# that existing copyright notices are retained in all copies and that this
6
# notice is included verbatim in any distributions. No written agreement,
7
# license, or royalty fee is required for any of the authorized uses.
8
# Modifications to this software may be copyrighted by their authors
9
# and need not follow the licensing terms described here, provided that
10
# the new terms are clearly indicated on the first page of each file where
11
# they apply.
12
#
13
 
14
srcdir = @srcdir@
15
VPATH = @srcdir@
16
 
17
prefix = @prefix@
18
exec_prefix = @exec_prefix@
19
 
20
mandir = @mandir@
21
man1dir = $(mandir)/man1
22
infodir = @infodir@
23
 
24
MAKEINFO = makeinfo
25
TEXI2DVI = TEXINPUTS=$(TEXIDIR):$(srcdir):$$TEXINPUTS texi2dvi
26
 
27
INSTALL = @INSTALL@
28
INSTALL_PROGRAM = @INSTALL_PROGRAM@
29
INSTALL_DATA = @INSTALL_DATA@
30
 
31
# Where to find texinfo.tex to format docn with TeX
32
TEXIDIR = $(srcdir)/../../texinfo
33
 
34
MANPAGES =
35
 
36
all:
37
 
38
info:   porting.info
39
 
40
dvi:    porting.dvi
41
 
42
ps:     porting.ps
43
 
44
doc:    info dvi
45
 
46
porting: porting.dvi porting.info
47
 
48
######################################################################
49
# DOCUMENTATION TARGETS
50
# TeX output
51
porting.dvi: $(srcdir)/porting.texi $(srcdir)/porting.texi
52
        $(TEXI2DVI) $(srcdir)/porting.texi
53
 
54
# info file for online browsing
55
porting.info: $(srcdir)/porting.texi $(srcdir)/porting.texi
56
        $(MAKEINFO) -I $(srcdir) -o porting.info $(srcdir)/porting.texi
57
 
58
porting.ps: porting.dvi
59
        dvips -f porting.dvi > porting.ps
60
 
61
#   different targets for -ms, -mm, -me
62
# Try to use a recent texi2roff.  v2 was put on prep in jan91.
63
# If you want an index, see texi2roff doc for postprocessing
64
# and add -i to texi2roff invocations below.
65
# Workarounds for texi2roff-2 (probably fixed in later texi2roff's, delete
66
#    correspondint -e lines when later texi2roff's are current)
67
# + @ifinfo's deleted explicitly due to texi2roff-2 bug w nested constructs.
68
# + @c's deleted explicitly because texi2roff sees texinfo commands in them
69
# + @   (that's at-BLANK) not recognized by texi2roff, turned into blank
70
# + @alphaenumerate is ridiculously new, turned into @enumerate
71
 
72
# roff output (-ms)
73
porting.ms: $(srcdir)/porting.texi
74
        sed -e '/\\input texinfo/d' \
75
                -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
76
                -e '/^@ifinfo/,/^@end ifinfo/d' \
77
                -e '/^@c/d' \
78
                -e 's/{.*,,/{/' \
79
                -e 's/@ / /g' \
80
                -e 's/^@alphaenumerate/@enumerate/g' \
81
                -e 's/^@end alphaenumerate/@end enumerate/g' \
82
                $(srcdir)/porting.texi | \
83
        $(TEXI2ROFF) -ms | \
84
        sed -e 's/---/\\(em/g' \
85
        >porting.ms
86
 
87
# roff output (-mm)
88
# '@noindent's removed due to texi2roff-2 mm bug; if yours is newer,
89
#   try leaving them in
90
porting.mm: $(srcdir)/porting.texi
91
        sed -e '/\\input texinfo/d' \
92
                -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
93
                -e '/^@ifinfo/,/^@end ifinfo/d' \
94
                -e '/^@c/d' \
95
                -e 's/{.*,,/{/' \
96
                -e '/@noindent/d' \
97
                -e 's/@ / /g' \
98
                -e 's/^@alphaenumerate/@enumerate/g' \
99
                -e 's/^@end alphaenumerate/@end enumerate/g' \
100
                $(srcdir)/porting.texi | \
101
        $(TEXI2ROFF) -mm | \
102
        sed -e 's/---/\\(em/g' \
103
                >porting.mm
104
 
105
# roff output (-me)
106
porting.me: $(srcdir)/porting.texi
107
        sed -e '/\\input texinfo/d' \
108
                -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
109
                -e '/^@ifinfo/,/^@end ifinfo/d' \
110
                -e '/^@c/d' \
111
                -e 's/{.*,,/{/' \
112
                -e 's/@ / /g' \
113
                -e 's/^@alphaenumerate/@enumerate/g' \
114
                -e 's/^@end alphaenumerate/@end enumerate/g' \
115
                $(srcdir)/porting.texi | \
116
        $(TEXI2ROFF) -me | \
117
        sed -e 's/---/\\(em/g' \
118
        >porting.me
119
 
120
 
121
######################################################################
122
 
123
clean mostlyclean:
124
        -rm -f *.o *~ \#* core *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc \
125
        *.tp *.vr *.cps *.fns *.kys *.pgs *.tps *.vrs *.info* *.1 *.ps
126
 
127
maintainer-clean realclean: clean
128
        -rm -f
129
 
130
install:
131
 
132
install-info: info
133
        for i in *.info* ; do \
134
                $(INSTALL_DATA) $$i $(infodir)/$$i ; \
135
        done
136
 
137
clean-info:
138
        -rm -rf *.info*
139
 
140
distclean:      clean
141
        -rm -f Makefile config.cache config.log config.status
142
 
143
Makefile: Makefile.in config.status
144
        $(SHELL) config.status
145
 
146
config.status: configure
147
        $(SHELL) config.status --recheck

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.