mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
Update to template for new XML
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2305 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
52d29f7a42
commit
d3edf27c9e
@ -1,6 +1,4 @@
|
||||
These files are generic templates.
|
||||
This is a generic template.
|
||||
|
||||
The newitem script makes a copy of the files and changes all occurances
|
||||
of template in them to the package name to save a lot of tedious work.
|
||||
Makes a copy of the file and edit as needed.
|
||||
|
||||
Not all will always be needed
|
||||
|
@ -1,37 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copies the template files and replaces template with the supplied package
|
||||
# name, greatly simplifying the process of adding a new package.
|
||||
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
echo "Creates template files for a package and fills in the package name."
|
||||
echo "Usage: $0 <written-package-name> <package-filename>"
|
||||
echo
|
||||
echo "Note that if you want to create the package Glib, you should"
|
||||
echo "call the script as: '$0 Glib glib' so that the filenames are in"
|
||||
echo "lower case. If you only specify the first option, it is used"
|
||||
echo "for both the written and filenames."
|
||||
echo "Note also that *all* filenames in BLFS should be lower-case only"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
WRITTENNAME=$1
|
||||
|
||||
if [ -z "$2" ]
|
||||
then
|
||||
FILENAME=$WRITTENNAME
|
||||
else
|
||||
FILENAME=$2
|
||||
fi
|
||||
|
||||
pushd `dirname $0`
|
||||
TEMPLDIR=`pwd`
|
||||
popd
|
||||
|
||||
for i in $TEMPLDIR/template*
|
||||
do
|
||||
NEWFILE=`echo $i | sed s@$TEMPLDIR/template@$FILENAME@`
|
||||
echo $NEWFILE
|
||||
sed s/template/$WRITTENNAME/g $i > $NEWFILE
|
||||
done
|
@ -1,15 +0,0 @@
|
||||
<sect2>
|
||||
<title>Configuring <application>template</application></title>
|
||||
|
||||
<sect3><title>Config files</title>
|
||||
<para><filename>List of config files</filename></para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Configuration Information</title>
|
||||
|
||||
<para><userinput>USERINPUT GOES HERE</userinput> Blah blah blah about config.
|
||||
</para>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
@ -1,18 +0,0 @@
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<para>The <application>template</application> package contains <command>
|
||||
LISTOFEXEC</command>, <filename>LISTOFFILES</filename>.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2><title>Description</title>
|
||||
|
||||
<sect3><title>item1</title>
|
||||
<para><command>item1</command> does this</para></sect3>
|
||||
|
||||
<sect3><title>item2</title>
|
||||
<para><filename>item2</filename> does that</para></sect3>
|
||||
|
||||
</sect2>
|
||||
|
@ -1,7 +0,0 @@
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para><command>COMMAND</command>: This command does something.</para>
|
||||
|
||||
</sect2>
|
||||
|
@ -1,9 +0,0 @@
|
||||
<sect2>
|
||||
<title>Installation of <application>template</application></title>
|
||||
|
||||
<para>Install <application>template</application> by running the following commands:</para>
|
||||
|
||||
<screen><userinput><command>./configure </command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
@ -1,22 +0,0 @@
|
||||
<sect2>
|
||||
<title>Introduction to <application>template</application></title>
|
||||
|
||||
<para>The <application>template</application> package contains... This is useful for...</para>
|
||||
|
||||
<sect3><title>Package information</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Download (HTTP): <ulink url="&template-download-http;"/></para></listitem>
|
||||
<listitem><para>Download (FTP): <ulink url="&template-download-ftp;"/></para></listitem>
|
||||
<listitem><para>Download size: &template-size;</para></listitem>
|
||||
<listitem><para>Estimated Disk space required: &template-buildsize;</para></listitem>
|
||||
<listitem><para>Estimated build time: &template-time;</para></listitem></itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title><application>template</application> dependencies</title>
|
||||
<sect4><title>Required</title>
|
||||
<para>DEPENDENCE LIST</para></sect4>
|
||||
<sect4><title>Optional</title>
|
||||
<para>OPTIONAL LIST</para></sect4>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
@ -1,12 +0,0 @@
|
||||
<!ENTITY template SYSTEM "../template.xml">
|
||||
<!ENTITY template-intro SYSTEM "template-intro.xml">
|
||||
<!ENTITY template-inst SYSTEM "template-inst.xml">
|
||||
<!ENTITY template-exp SYSTEM "template-exp.xml">
|
||||
<!ENTITY template-desc SYSTEM "template-desc.xml">
|
||||
<!ENTITY template-config SYSTEM "template-config.xml">
|
||||
<!ENTITY template-buildsize "">
|
||||
<!ENTITY template-version "">
|
||||
<!ENTITY template-download-http "">
|
||||
<!ENTITY template-download-ftp "">
|
||||
<!ENTITY template-size "">
|
||||
<!ENTITY template-time "">
|
@ -1,12 +1,96 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY template-buildsize "">
|
||||
<!-- Place this in the general.ent file
|
||||
<!ENTITY template-version "">
|
||||
-->
|
||||
|
||||
<!ENTITY template-download-http "http://">
|
||||
<!ENTITY template-download-ftp "ftp://">
|
||||
<!ENTITY template-size "?? MB">
|
||||
<!ENTITY template-time "?? SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="template" xreflabel="template-&template-version;">
|
||||
<?dbhtml filename="template.html"?>
|
||||
<title>template-&template-version;</title>
|
||||
|
||||
&template-intro;
|
||||
&template-inst;
|
||||
&template-exp;
|
||||
&template-config;
|
||||
&template-desc;
|
||||
|
||||
<sect2>
|
||||
<title>Introduction to <application>template</application></title>
|
||||
|
||||
<para>The <application>template</application> package contains... This is useful for...</para>
|
||||
|
||||
<sect3><title>Package information</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Download (HTTP): <ulink url="&template-download-http;"/></para></listitem>
|
||||
<listitem><para>Download (FTP): <ulink url="&template-download-ftp;"/></para></listitem>
|
||||
<listitem><para>Download size: &template-size;</para></listitem>
|
||||
<listitem><para>Estimated Disk space required: &template-buildsize;</para></listitem>
|
||||
<listitem><para>Estimated build time: &template-time;</para></listitem></itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title><application>template</application> dependencies</title>
|
||||
<sect4><title>Required</title>
|
||||
<para>DEPENDENCE LIST</para></sect4>
|
||||
<sect4><title>Optional</title>
|
||||
<para>OPTIONAL LIST</para></sect4>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of <application>template</application></title>
|
||||
|
||||
<para>Install <application>template</application> by running the following commands:</para>
|
||||
|
||||
<screen><userinput><command>./configure </command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para><command>COMMAND</command>: This command does something.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Configuring <application>template</application></title>
|
||||
|
||||
<sect3><title>Config files</title>
|
||||
<para><filename>List of config files</filename></para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Configuration Information</title>
|
||||
|
||||
<para><userinput>USERINPUT GOES HERE</userinput> Blah blah blah about config.
|
||||
</para>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<para>The <application>template</application> package contains <command>
|
||||
LISTOFEXEC</command>, <filename>LISTOFFILES</filename>.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2><title>Description</title>
|
||||
|
||||
<sect3><title>item1</title>
|
||||
<para><command>item1</command> does this</para></sect3>
|
||||
|
||||
<sect3><title>item2</title>
|
||||
<para><filename>item2</filename> does that</para></sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user