URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [sgml/] [makemakefile] - Rev 174
Compare with Previous | Blame | View Log
#!/bin/shtouch ecos-ref.sgmltouch makefilechmod +w ecos-ref.sgmlchmod +w makefilecat > makefile <<EOF#=============================================================================## makefile## For building the eCos docs##=============================================================================#####ECOSGPLCOPYRIGHTBEGIN##### -------------------------------------------# This file is part of eCos, the Embedded Configurable Operating System.# Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.# Copyright (C) 2003 Jonathan Larmour## eCos is free software; you can redistribute it and/or modify it under# the terms of the GNU General Public License as published by the Free# Software Foundation; either version 2 or (at your option) any later version.## eCos is distributed in the hope that it will be useful, but WITHOUT ANY# WARRANTY; without even the implied warranty of MERCHANTABILITY or# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License# for more details.## You should have received a copy of the GNU General Public License along# with eCos; if not, write to the Free Software Foundation, Inc.,# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.## As a special exception, if other files instantiate templates or use macros# or inline functions from this file, or you compile this file and link it# with other works to produce a work based on this file, this file does not# by itself cause the resulting work to be covered by the GNU General Public# License. However the source code for this file must still be made available# in accordance with section (3) of the GNU General Public License.## This exception does not invalidate any other reasons why a work based on# this file might be covered by the GNU General Public License.## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.# at http://sources.redhat.com/ecos/ecos-license# -------------------------------------------#####ECOSGPLCOPYRIGHTEND#####=============================================================================#####DESCRIPTIONBEGIN###### Author(s): jlarmour# Date: 2002-02-05#####DESCRIPTIONEND#####=============================================================================TOPLEVEL := ../../packagesEOF/bin/echo MAIN_SGML := ecos-ref.sgml >> makefile/bin/echo -n OTHER_SGML := >> makefilecat >ecos-ref.sgml <<EOF<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [<!-- Begin Document Specific Declarations --><!ENTITY ui "µITRON"><!ENTITY versiondir CDATA "v2_0"><!ENTITY version CDATA "2.0"><!ENTITY lt SDATA "[lt ]">EOFPACKAGEVER=${1:-'current'}for i in `cat doclist`; doline="`echo $i | sed 's/#.*//;'`"if (test ! -z $line); then/bin/echo -n " ../../packages/$i" | sed "s@/current/@/${PACKAGEVER}/@g" >> makefileentityi="`echo $i | sed 's@/@-@g; s@\.@-@g; s@_@-@g; s@-current-doc@@g; s@-current@@g'`"echo "<!ENTITY $entityi SYSTEM \"../../packages/$i\">" | sed "s@/current/@/${PACKAGEVER}/@g" >> ecos-ref.sgmlfidone# Go through again but find PNGs to copyfor i in `for j in \`cat doclist\` ; do dirname $j ; done | sort | uniq` ; dodiri=`echo ../../packages/$i | sed "s@/current/@/${PACKAGEVER}/@g"`dirigifs=`ls $diri/*.png 2>/dev/null | tr '\n' ' '`if [ x"$dirigifs" != x ]; thencopyfiles="$copyfiles $dirigifs"fidonecat >> makefile <<EOFMAIN_HTML := ecos-ref.htmlMAIN_PDF := ecos-ref.pdfPICTURES :=COPYFILES := $copyfilesinclude \$(TOPLEVEL)/pkgconf/rules.docEOFcat >> ecos-ref.sgml <<EOF<!-- End Document Specific Declarations -->]><BOOK ID="ECOS-REF"><bookinfo><TITLE>eCos Reference Manual</TITLE><copyright><year>1998</year><year>1999</year><year>2000</year><year>2001</year><year>2002</year><year>2003</year><holder>Red Hat, Inc.</holder><holder>Nick Garnett (eCosCentric)</holder><holder>Jonathan Larmour (eCosCentric)</holder><holder>Andrew Lunn (Ascom)</holder><holder>Gary Thomas (MLB Associates)</holder><holder>Bart Veer (eCosCentric)</holder></copyright><legalnotice><title>Documentation licensing terms</title><para>This material may be distributed only subject to the termsand conditions set forth in the Open Publication License, v1.0or later (the latest version is presently available at<ulink url="http://www.opencontent.org/openpub/">http://www.opencontent.org/openpub/</ulink>).</para><para>Distribution of substantively modified versions of thisdocument is prohibited without the explicit permission of thecopyright holder.</para><para>Distribution of the work or derivative of the work in anystandard (paper) book form is prohibited unless priorpermission is obtained from the copyright holder.</para></legalnotice><legalnotice><title>Trademarks</title><para>Red Hat, the Red Hat Shadow Man logo®, eCos™, RedBoot™,GNUPro®, and Insight™ are trademarks of Red Hat, Inc. </para><para>Sun Microsystems® and Solaris® are registered trademarks ofSun Microsystems, Inc. </para><para>SPARC® is a registered trademark of SPARC International, Inc., andis used under license by Sun Microsystems, Inc. </para><para>Intel® is a registered trademark of Intel Corporation.</para><para>Motorola™ is a trademark of Motorola, Inc.</para><para>ARM® is a registered trademark of Advanced RISC Machines, Ltd.</para><para>MIPS™ is a trademark of MIPS Technologies, Inc.</para><para>Toshiba® is a registered trademark of the Toshiba Corporation.</para><para>NEC® is a registered trademark if the NEC Corporation.</para><para>Cirrus Logic® is a registered trademark of Cirrus Logic, Inc.</para><para>Compaq® is a registered trademark of the Compaq Computer Corporation.</para><para>Matsushita™ is a trademark of the Matsushita Electric Corporation.</para><para>Samsung® and CalmRISC™ are trademarks or registered trademarksof Samsung, Inc. </para><para>Linux® is a registered trademark of Linus Torvalds. </para><para>UNIX® is a registered trademark of The Open Group. </para><para>Microsoft®, Windows®, and Windows NT® are registered trademarksof Microsoft Corporation, Inc. </para><para>All other brand and product names, trademarks, and copyrights are theproperty of their respective owners. </para></legalnotice><legalnotice><title>Warranty</title><para>eCos and RedBoot are open source software, covered by amodified version of the <ulink url="http://www.gnu.org/copyleft/gpl.html">GNUGeneral Public Licence</ulink>,and you are welcome to change it and/or distribute copies of it under certainconditions. See <ulinkurl="http://sources.redhat.com/ecos/license-overview.html">http://sources.redhat.com/ecos/license-overview.html</ulink> for more information about the license.</para><para>eCos and RedBoot software have NO WARRANTY. </para><para>Because this software is licensed free of charge, there are no warrantiesfor it, to the extent permitted by applicable law. Except when otherwise statedin writing, the copyright holders and/or other parties provide the software“as is” without warranty of any kind, either expressed or implied,including, but not limited to, the implied warranties of merchantability andfitness for a particular purpose. The entire risk as to the quality and performanceof the software is with you. Should the software prove defective, you assumethe cost of all necessary servicing, repair or correction.</para><para> In no event, unless required by applicable law or agreed to in writing,will any copyright holder, or any other party who may modify and/or redistributethe program as permitted above, be liable to you for damages, including anygeneral, special, incidental or consequential damages arising out of the useor inability to use the program (including but not limited to loss of dataor data being rendered inaccurate or losses sustained by you or third partiesor a failure of the program to operate with any other programs), even if suchholder or other party has been advised of the possibility of such damages.</para></legalnotice></bookinfo><toc id="ecos-toc"></toc>EOFfor i in `cat doclist`; doline="`echo $i | sed 's/#.*//;'`"if (test ! -z $line); thenentityi="`echo $i | sed 's@/@-@g; s@\.@-@g; s@_@-@g; s@-current-doc@@g; s@-current@@g'`"# special kludgeif [ "`basename $i`" != "tcpip-manpages.sgml" -a "`basename $i`" != "snmp-manpages.sgml" -a "`basename $i`" != "porting.sgml" ]; thenecho "&$entityi;" >> ecos-ref.sgmlfifidoneecho '</book>' >> ecos-ref.sgml
