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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [doc/] [Makefile.in] - Blame information for rev 258

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

Line No. Rev Author Line
1 207 jeremybenn
# 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
DESTDIR =
15
srcdir = @srcdir@
16
VPATH = @srcdir@
17
 
18
prefix = @prefix@
19
exec_prefix = @exec_prefix@
20
datarootdir = @datarootdir@
21
 
22
mandir = @mandir@
23
man1dir = $(mandir)/man1
24
infodir = @infodir@
25
 
26
MAKEINFO = makeinfo
27
TEXI2DVI = TEXINPUTS=$(TEXIDIR):$(srcdir):$$TEXINPUTS texi2dvi
28
 
29
INSTALL = @INSTALL@
30
INSTALL_PROGRAM = @INSTALL_PROGRAM@
31
INSTALL_DATA = @INSTALL_DATA@
32
 
33
# Where to find texinfo.tex to format docn with TeX
34
TEXIDIR = $(srcdir)/../../texinfo
35
 
36
MANPAGES =
37
 
38
all:
39
 
40
info:   porting.info
41
 
42
html:   porting.html
43
 
44
dvi:    porting.dvi
45
 
46
pdf:    porting.pdf
47
 
48
ps:     porting.ps
49
 
50
doc:    info dvi
51
 
52
porting: porting.dvi porting.info
53
 
54
######################################################################
55
# DOCUMENTATION TARGETS
56
# TeX output
57
porting.dvi: $(srcdir)/porting.texi $(srcdir)/porting.texi
58
        $(TEXI2DVI) $(srcdir)/porting.texi
59
 
60
porting.pdf: $(srcdir)/porting.texi $(srcdir)/porting.texi
61
        $(TEXI2DVI) --pdf $(srcdir)/porting.texi
62
 
63
# info file for online browsing
64
porting.info: $(srcdir)/porting.texi $(srcdir)/porting.texi
65
        $(MAKEINFO) -I $(srcdir) -o porting.info $(srcdir)/porting.texi
66
 
67
porting.html: $(srcdir)/porting.texi $(srcdir)/porting.texi
68
        $(MAKEINFO) --html -I $(srcdir) -o porting.html $(srcdir)/porting.texi
69
 
70
porting.ps: porting.dvi
71
        dvips -f porting.dvi > porting.ps
72
 
73
#   different targets for -ms, -mm, -me
74
# Try to use a recent texi2roff.  v2 was put on prep in jan91.
75
# If you want an index, see texi2roff doc for postprocessing
76
# and add -i to texi2roff invocations below.
77
# Workarounds for texi2roff-2 (probably fixed in later texi2roff's, delete
78
#    correspondint -e lines when later texi2roff's are current)
79
# + @ifinfo's deleted explicitly due to texi2roff-2 bug w nested constructs.
80
# + @c's deleted explicitly because texi2roff sees texinfo commands in them
81
# + @   (that's at-BLANK) not recognized by texi2roff, turned into blank
82
# + @alphaenumerate is ridiculously new, turned into @enumerate
83
 
84
# roff output (-ms)
85
porting.ms: $(srcdir)/porting.texi
86
        sed -e '/\\input texinfo/d' \
87
                -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
88
                -e '/^@ifinfo/,/^@end ifinfo/d' \
89
                -e '/^@c/d' \
90
                -e 's/{.*,,/{/' \
91
                -e 's/@ / /g' \
92
                -e 's/^@alphaenumerate/@enumerate/g' \
93
                -e 's/^@end alphaenumerate/@end enumerate/g' \
94
                $(srcdir)/porting.texi | \
95
        $(TEXI2ROFF) -ms | \
96
        sed -e 's/---/\\(em/g' \
97
        >porting.ms
98
 
99
# roff output (-mm)
100
# '@noindent's removed due to texi2roff-2 mm bug; if yours is newer,
101
#   try leaving them in
102
porting.mm: $(srcdir)/porting.texi
103
        sed -e '/\\input texinfo/d' \
104
                -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
105
                -e '/^@ifinfo/,/^@end ifinfo/d' \
106
                -e '/^@c/d' \
107
                -e 's/{.*,,/{/' \
108
                -e '/@noindent/d' \
109
                -e 's/@ / /g' \
110
                -e 's/^@alphaenumerate/@enumerate/g' \
111
                -e 's/^@end alphaenumerate/@end enumerate/g' \
112
                $(srcdir)/porting.texi | \
113
        $(TEXI2ROFF) -mm | \
114
        sed -e 's/---/\\(em/g' \
115
                >porting.mm
116
 
117
# roff output (-me)
118
porting.me: $(srcdir)/porting.texi
119
        sed -e '/\\input texinfo/d' \
120
                -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
121
                -e '/^@ifinfo/,/^@end ifinfo/d' \
122
                -e '/^@c/d' \
123
                -e 's/{.*,,/{/' \
124
                -e 's/@ / /g' \
125
                -e 's/^@alphaenumerate/@enumerate/g' \
126
                -e 's/^@end alphaenumerate/@end enumerate/g' \
127
                $(srcdir)/porting.texi | \
128
        $(TEXI2ROFF) -me | \
129
        sed -e 's/---/\\(em/g' \
130
        >porting.me
131
 
132
 
133
######################################################################
134
 
135
clean mostlyclean:
136
        -rm -f *.o *~ \#* core *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc \
137
        *.tp *.vr *.cps *.fns *.kys *.pgs *.tps *.vrs *.info* *.1 *.ps
138
 
139
maintainer-clean realclean: clean
140
        -rm -f
141
 
142
install:
143
 
144
install-info: info
145
        for i in *.info* ; do \
146
                $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i ; \
147
        done
148
 
149
clean-info:
150
        -rm -rf *.info*
151
 
152
distclean:      clean
153
        -rm -f Makefile config.cache config.log config.status
154
 
155
Makefile: Makefile.in config.status
156
        $(SHELL) config.status
157
 
158
config.status: configure
159
        $(SHELL) config.status --recheck

powered by: WebSVN 2.1.0

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