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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [doc/] [sgml/] [makemakefile] - Blame information for rev 803

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

Line No. Rev Author Line
1 786 skrzyp
#!/bin/sh
2
 
3
touch ecos-ref.sgml
4
touch makefile
5
chmod +w ecos-ref.sgml
6
chmod +w makefile
7
 
8
sgmldir="`dirname $0`"
9
doclist="${sgmldir}/doclist"
10
toplvl="${sgmldir}/../.."
11
 
12
cat > makefile <
13
#=============================================================================
14
#
15
#    makefile
16
#
17
#    For building the eCos docs
18
#
19
#=============================================================================
20
# ####ECOSGPLCOPYRIGHTBEGIN####
21
# -------------------------------------------
22
# This file is part of eCos, the Embedded Configurable Operating System.
23
# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
24
#
25
# eCos is free software; you can redistribute it and/or modify it under
26
# the terms of the GNU General Public License as published by the Free
27
# Software Foundation; either version 2 or (at your option) any later
28
# version.
29
#
30
# eCos is distributed in the hope that it will be useful, but WITHOUT
31
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
32
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
33
# for more details.
34
#
35
# You should have received a copy of the GNU General Public License
36
# along with eCos; if not, write to the Free Software Foundation, Inc.,
37
# 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
38
#
39
# As a special exception, if other files instantiate templates or use
40
# macros or inline functions from this file, or you compile this file
41
# and link it with other works to produce a work based on this file,
42
# this file does not by itself cause the resulting work to be covered by
43
# the GNU General Public License. However the source code for this file
44
# must still be made available in accordance with section (3) of the GNU
45
# General Public License v2.
46
#
47
# This exception does not invalidate any other reasons why a work based
48
# on this file might be covered by the GNU General Public License.
49
# -------------------------------------------
50
# ####ECOSGPLCOPYRIGHTEND####
51
#=============================================================================
52
#####DESCRIPTIONBEGIN####
53
#
54
# Author(s):     jlarmour
55
# Date:          2002-02-05
56
#####DESCRIPTIONEND####
57
#=============================================================================
58
 
59
TOPLEVEL   := ${toplvl}/packages
60
EOF
61
/bin/echo MAIN_SGML   := ecos-ref.sgml >> makefile
62
/bin/echo -n OTHER_SGML   :=  >> makefile
63
 
64
cat >ecos-ref.sgml <
65
66
 
67
68
69
70
71
72
EOF
73
 
74
PACKAGEVER=${1:-'current'}
75
 
76
for i in `cat ${doclist}`; do
77
  line="`echo $i | sed 's/#.*//;'`"
78
  if (test ! -z $line); then
79
   /bin/echo -n " ${toplvl}/packages/$i" | sed "s@/current/@/${PACKAGEVER}/@g" >> makefile
80
   entityi="`echo $i | sed 's@\+@x@g; s@/@-@g; s@\.@-@g; s@_@-@g; s@-current-doc@@g; s@-current@@g'`"
81
   echo "" | sed "s@/current/@/${PACKAGEVER}/@g" >> ecos-ref.sgml
82
  fi
83
done
84
 
85
# Go through again but find GIFs and PNGs to copy
86
for i in `for j in \`cat ${doclist}\` ; do dirname $j ; done | sort | uniq` ; do
87
  diri=`echo ${toplvl}/packages/$i | sed "s@/current/@/${PACKAGEVER}/@g"`
88
  dirigifs=`ls $diri/*.gif $diri/*.png 2>/dev/null | tr '\n' ' '`
89
  if [ x"$dirigifs" != x ]; then
90
        copyfiles="$copyfiles $dirigifs"
91
  fi
92
done
93
 
94
cat >> makefile <
95
 
96
MAIN_HTML  := ecos-ref.html
97
MAIN_PDF   := ecos-ref.pdf
98
PICTURES   :=
99
COPYFILES  := $copyfiles
100
 
101
include \$(TOPLEVEL)/pkgconf/rules.doc
102
EOF
103
 
104
cat >> ecos-ref.sgml <
105
106
]>
107
 
108
109
  
110
    eCos Reference Manual
111
 
112
    
113
      1998
114
      1999
115
      2000
116
      2001
117
      2002
118
      2003
119
      2004
120
      2005
121
      2006
122
      2007
123
      2008
124
      2009
125
      2010
126
      2011
127
      2012
128
      Free Software Foundation, Inc.
129
    
130
 
131
    
132
        Documentation licensing terms
133
This material may be distributed only subject to the terms
134
and conditions set forth in the Open Publication License, v1.0
135
or later (the latest version is presently available at
136
http://www.opencontent.org/openpub/).
137
138
139
Distribution of substantively modified versions of this
140
document is prohibited without the explicit permission of the
141
copyright holder.
142
143
Distribution of the work or derivative of the work in any
144
standard (paper) book form is prohibited unless prior
145
permission is obtained from the copyright holder.
146
147
    
148
    
149
      Trademarks
150
Altera® and Excalibur™ are trademarks of Altera Corporation.
151
AMD® is a registered trademark of Advanced Micro Devices, Inc.
152
ARM®, StrongARM®, Thumb®, ARM7™, ARM9™  is a registered trademark of Advanced RISC Machines, Ltd.
153
Cirrus Logic® and Maverick™ are registered trademarks of Cirrus Logic, Inc.
154
Cogent™ is a trademark of Cogent Computer Systems, Inc.
155
Compaq® is a registered trademark of the Compaq Computer Corporation.
156
eCos® is a registered trademark of eCosCentric Limited.
157
Fujitsu® is a registered trademark of Fujitsu Limited.
158
IBM®, and PowerPC™ are trademarks of International Business Machines Corporation.
159
IDT® is a registered trademark of Integrated Device Technology Inc.
160
Intel®, i386™, Pentium®, StrataFlash® and XScale™ are trademarks of Intel Corporation.
161
Intrinsyc® and Cerf™ are trademarks of Intrinsyc Software, Inc.
162
Linux® is a registered trademark of Linus Torvalds. 
163
Matsushita™ and Panasonic® are trademarks of the Matsushita Electric Industrial Corporation.
164
Microsoft®, Windows®, Windows NT® and Windows XP® are registered trademarks of Microsoft Corporation, Inc. 
165
MIPS®, MIPS32™ MIPS64™, 4K&trade, 5K™ Atlas™ and Malta™ are trademarks of MIPS Technologies, Inc.
166
Motorola®, ColdFire® is a trademark of Motorola, Inc.
167
NEC® V800™, V850™, V850/SA1™, V850/SB1™, VR4300™, and VRC4375™ are trademarks of NEC Corporation.
168
PMC-Sierra® RM7000™ and Ocelot™ are trademarks of PMC-Sierra Incorporated. 
169
Red Hat, RedBoot™, GNUPro®, and Insight™ are trademarks of Red Hat, Inc. 
170
Samsung® and CalmRISC™ are trademarks or registered trademarks of Samsung, Inc. 
171
Sharp® is a registered trademark of Sharp Electronics Corp.
172
SPARC® is a registered trademark of SPARC International, Inc., and is used under license by Sun Microsystems, Inc. 
173
Sun Microsystems® and Solaris® are registered trademarks of Sun Microsystems, Inc. 
174
SuperH™ and Renesas™ are trademarks owned by Renesas Technology Corp.
175
Texas Instruments®, OMAP™ and Innovator™ are trademarks of Texas Instruments Incorporated.
176
Toshiba® is a registered trademark of the Toshiba Corporation.
177
UNIX® is a registered trademark of The Open Group. 
178
All other brand and product names, trademarks, and copyrights are the
179
property of their respective owners. 
180
      
181
      
182
Warranty
183
eCos and RedBoot are open source software, covered by a
184
modified version of the GNU
185
General Public Licence,
186
and you are welcome to change it and/or distribute copies of it under certain
187
conditions. See 
188
url="http://ecos.sourceware.org/license-overview.html">http://ecos.sourceware.org/license-overview.html
189
 for more information about the license.
190
eCos and RedBoot software have NO WARRANTY. 
191
Because this software is licensed free of charge, there are no warranties
192
for it, to the extent permitted by applicable law. Except when otherwise stated
193
in writing, the copyright holders and/or other parties provide the software
194
“as is” without warranty of any kind, either expressed or implied,
195
including, but not limited to, the implied warranties of merchantability and
196
fitness for a particular purpose. The entire risk as to the quality and performance
197
of the software is with you. Should the software prove defective, you assume
198
the cost of all necessary servicing, repair or correction.
199
 In no event, unless required by applicable law or agreed to in writing,
200
will any copyright holder, or any other party who may modify and/or redistribute
201
the program as permitted above, be liable to you for damages, including any
202
general, special, incidental or consequential damages arising out of the use
203
or inability to use the program (including but not limited to loss of data
204
or data being rendered inaccurate or losses sustained by you or third parties
205
or a failure of the program to operate with any other programs), even if such
206
holder or other party has been advised of the possibility of such damages.
207
208
      
209
  
210
211
EOF
212
 
213
for i in `cat ${doclist}`; do
214
  line="`echo $i | sed 's/#.*//;'`"
215
  if (test ! -z $line); then
216
   entityi="`echo $i | sed 's@\+@x@g; s@/@-@g; s@\.@-@g; s@_@-@g; s@-current-doc@@g; s@-current@@g'`"
217
   # special kludge
218
   if [ "`basename $i`" != "tcpip-manpages.sgml" -a \
219
        "`basename $i`" != "snmp-manpages.sgml" -a \
220
        "`basename $i`" != "libipsec.sgml" -a \
221
        "`basename $i`" != "libipsec-manpages.sgml" -a \
222
        "`basename $i`" != "openbsd-manpages-bridge.sgml" -a \
223
        "`basename $i`" != "openbsd-manpages-netintro.sgml" -a \
224
        "`basename $i`" != "openbsd-manpages-stp.sgml" -a \
225
        "`basename $i`" != "porting.sgml" ]; then
226
     echo "&$entityi;" >> ecos-ref.sgml
227
   fi
228
  fi
229
done
230
 
231
echo '' >> ecos-ref.sgml

powered by: WebSVN 2.1.0

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