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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [sgml/] [makemakefile] - Blame information for rev 576

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

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

powered by: WebSVN 2.1.0

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