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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [doc/] [Makefile.in] - Blame information for rev 866

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

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

powered by: WebSVN 2.1.0

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