Mercurial > ecos-v2_0-branch
comparison doc/sgml/makemakefile @ 208:e0c0827131d1 ecos
Merge from eCos master repository on 2002-05-20-20:11:54-BST
| author | jlarmour |
|---|---|
| date | Mon, 20 May 2002 22:19:26 +0000 |
| parents | |
| children | 0f9e01c77078 |
comparison
equal
deleted
inserted
replaced
| 207:74c807ddde34 | 208:e0c0827131d1 |
|---|---|
| 1 #!/bin/sh | |
| 2 | |
| 3 touch ecos.sgml | |
| 4 touch makefile | |
| 5 chmod +w ecos.sgml | |
| 6 chmod +w makefile | |
| 7 | |
| 8 cat > makefile <<EOF | |
| 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 # | |
| 21 # eCos is free software; you can redistribute it and/or modify it under | |
| 22 # the terms of the GNU General Public License as published by the Free | |
| 23 # Software Foundation; either version 2 or (at your option) any later version. | |
| 24 # | |
| 25 # eCos is distributed in the hope that it will be useful, but WITHOUT ANY | |
| 26 # WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 27 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
| 28 # for more details. | |
| 29 # | |
| 30 # You should have received a copy of the GNU General Public License along | |
| 31 # with eCos; if not, write to the Free Software Foundation, Inc., | |
| 32 # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | |
| 33 # | |
| 34 # As a special exception, if other files instantiate templates or use macros | |
| 35 # or inline functions from this file, or you compile this file and link it | |
| 36 # with other works to produce a work based on this file, this file does not | |
| 37 # by itself cause the resulting work to be covered by the GNU General Public | |
| 38 # License. However the source code for this file must still be made available | |
| 39 # in accordance with section (3) of the GNU General Public License. | |
| 40 # | |
| 41 # This exception does not invalidate any other reasons why a work based on | |
| 42 # this file might be covered by the GNU General Public License. | |
| 43 # | |
| 44 # Alternative licenses for eCos may be arranged by contacting Red Hat, Inc. | |
| 45 # at http://sources.redhat.com/ecos/ecos-license | |
| 46 # ------------------------------------------- | |
| 47 #####ECOSGPLCOPYRIGHTEND#### | |
| 48 #============================================================================= | |
| 49 #####DESCRIPTIONBEGIN#### | |
| 50 # | |
| 51 # Author(s): jlarmour | |
| 52 # Date: 2002-02-05 | |
| 53 #####DESCRIPTIONEND#### | |
| 54 #============================================================================= | |
| 55 | |
| 56 TOPLEVEL := ../../ecc | |
| 57 EOF | |
| 58 /bin/echo -n MAIN_SGML := ecos.sgml >> makefile | |
| 59 | |
| 60 cat >ecos.sgml <<EOF | |
| 61 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ | |
| 62 | |
| 63 <!-- Begin Document Specific Declarations --> | |
| 64 <!ENTITY ui "µITRON"> | |
| 65 <!ENTITY versiondir CDATA "v2_0"> | |
| 66 <!ENTITY version CDATA "2.0"> | |
| 67 <!ENTITY lt SDATA "[lt ]"> | |
| 68 EOF | |
| 69 | |
| 70 for i in `cat doclist`; do | |
| 71 line="`echo $i | sed 's/#.*//;'`" | |
| 72 if (test ! -z $line); then | |
| 73 /bin/echo -n " ../../ecc/$i" >> makefile | |
| 74 entityi="`echo $i | sed 's@/@-@g; s@\.@-@g; s@_@-@g'`" | |
| 75 echo "<!ENTITY $entityi SYSTEM \"../../ecc/$i\">" >> ecos.sgml | |
| 76 fi | |
| 77 done | |
| 78 echo "<!ENTITY hal-common-current-doc-porting-sgml SYSTEM \"../../ecc/hal/common/current/doc/porting.sgml\">" >> ecos.sgml | |
| 79 | |
| 80 cat >> makefile <<EOF | |
| 81 | |
| 82 MAIN_HTML := ecos.html | |
| 83 MAIN_PDF := | |
| 84 OTHER_SGML := | |
| 85 PICTURES := | |
| 86 | |
| 87 include \$(TOPLEVEL)/pkgconf/rules.doc | |
| 88 EOF | |
| 89 | |
| 90 cat >> ecos.sgml <<EOF | |
| 91 <!-- End Document Specific Declarations --> | |
| 92 ]> | |
| 93 | |
| 94 <BOOK ID="ECOS"> | |
| 95 <bookinfo> | |
| 96 <TITLE>eCos</TITLE> | |
| 97 | |
| 98 <copyright> | |
| 99 <year>1998</year> | |
| 100 <year>1999</year> | |
| 101 <year>2000</year> | |
| 102 <year>2001</year> | |
| 103 <year>2002</year> | |
| 104 <holder>Red Hat, Inc.</holder> | |
| 105 </copyright> | |
| 106 | |
| 107 <legalnotice> | |
| 108 <title>Documentation licensing terms</title> | |
| 109 <para>This material may be distributed only subject to the terms | |
| 110 and conditions set forth in the Open Publication License, v1.0 | |
| 111 or later (the latest version is presently available at | |
| 112 <ulink url="http://www.opencontent.org/openpub/">http://www.opencontent.org/openpub/</ulink>). | |
| 113 </para> | |
| 114 <para> | |
| 115 Distribution of substantively modified versions of this | |
| 116 document is prohibited without the explicit permission of the | |
| 117 copyright holder.</para> | |
| 118 <para> | |
| 119 Distribution of the work or derivative of the work in any | |
| 120 standard (paper) book form is prohibited unless prior | |
| 121 permission is obtained from the copyright holder. | |
| 122 </para> | |
| 123 </legalnotice> | |
| 124 <legalnotice> | |
| 125 <title>Trademarks</title> | |
| 126 <para>Red Hat, the Red Hat Shadow Man logo®, eCos™, RedBoot™, | |
| 127 GNUPro®, and Insight™ are trademarks of Red Hat, Inc. </para> | |
| 128 <para>Sun Microsystems® and Solaris® are registered trademarks of | |
| 129 Sun Microsystems, Inc. </para> | |
| 130 <para>SPARC® is a registered trademark of SPARC International, Inc., and | |
| 131 is used under license by Sun Microsystems, Inc. </para> | |
| 132 <para>Intel® is a registered trademark of Intel Corporation.</para> | |
| 133 <para>Motorola™ is a trademark of Motorola, Inc.</para> | |
| 134 <para>ARM® is a registered trademark of Advanced RISC Machines, Ltd.</para> | |
| 135 <para>MIPS™ is a trademark of MIPS Technologies, Inc.</para> | |
| 136 <para>Toshiba® is a registered trademark of the Toshiba Corporation.</para> | |
| 137 <para>NEC® is a registered trademark if the NEC Corporation.</para> | |
| 138 <para>Cirrus Logic® is a registered trademark of Cirrus Logic, Inc.</para> | |
| 139 <para>Compaq® is a registered trademark of the Compaq Computer Corporation. | |
| 140 </para> | |
| 141 <para>Matsushita™ is a trademark of the Matsushita Electric Corporation. | |
| 142 </para> | |
| 143 <para>Samsung® and CalmRISC™ are trademarks or registered trademarks | |
| 144 of Samsung, Inc. </para> | |
| 145 <para>Linux® is a registered trademark of Linus Torvalds. </para> | |
| 146 <para>UNIX® is a registered trademark of The Open Group. </para> | |
| 147 <para>Microsoft®, Windows®, and Windows NT® are registered trademarks | |
| 148 of Microsoft Corporation, Inc. </para> | |
| 149 <para>All other brand and product names, trademarks, and copyrights are the | |
| 150 property of their respective owners. </para> | |
| 151 </legalnotice> | |
| 152 <legalnotice> | |
| 153 <title>Warranty</title> | |
| 154 <para>eCos and RedBoot are open source software, covered by the Red Hat eCos Public License, | |
| 155 and you are welcome to change it and/or distribute copies of it under certain | |
| 156 conditions. The supplied version of eCos and/or RedBoot is supported for customers of Red Hat. See <ulink | |
| 157 url="http://sources.redhat.com/ecos/license-overview.html">http://sources.redhat.com/ecos/license-overview.html | |
| 158 </ulink></para> | |
| 159 <para>For non-customers, eCos and RedBoot software has NO WARRANTY. </para> | |
| 160 <para>Because this software is licensed free of charge, there are no warranties | |
| 161 for it, to the extent permitted by applicable law. Except when otherwise stated | |
| 162 in writing, the copyright holders and/or other parties provide the software | |
| 163 “as is” without warranty of any kind, either expressed or implied, | |
| 164 including, but not limited to, the implied warranties of merchantability and | |
| 165 fitness for a particular purpose. The entire risk as to the quality and performance | |
| 166 of the software is with you. Should the software prove defective, you assume | |
| 167 the cost of all necessary servicing, repair or correction.</para> | |
| 168 <para> In no event, unless required by applicable law or agreed to in writing, | |
| 169 will any copyright holder, or any other party who may modify and/or redistribute | |
| 170 the program as permitted above, be liable to you for damages, including any | |
| 171 general, special, incidental or consequential damages arising out of the use | |
| 172 or inability to use the program (including but not limited to loss of data | |
| 173 or data being rendered inaccurate or losses sustained by you or third parties | |
| 174 or a failure of the program to operate with any other programs), even if such | |
| 175 holder or other party has been advised of the possibility of such damages. | |
| 176 </para> | |
| 177 </legalnotice> | |
| 178 </bookinfo> | |
| 179 <toc id="ecos-toc"></toc> | |
| 180 EOF | |
| 181 | |
| 182 for i in `cat doclist`; do | |
| 183 line="`echo $i | sed 's/#.*//;'`" | |
| 184 if (test ! -z $line); then | |
| 185 entityi="`echo $i | sed 's@/@-@g; s@\.@-@g; s@_@-@g'`" | |
| 186 # special kludge | |
| 187 if [ "`basename $i`" != "tcpip-manpages.sgml" ]; then | |
| 188 echo "&$entityi;" >> ecos.sgml | |
| 189 fi | |
| 190 fi | |
| 191 done | |
| 192 | |
| 193 echo '</book>' >> ecos.sgml |
