File:  [LON-CAPA] / loncom / build / lpml.dtd
Revision 1.1: download - view: text, annotated - select for diffs
Sun May 6 22:53:30 2001 UTC (23 years ago) by harris41
Branches: MAIN
CVS tags: HEAD
an XML-ish markup language (Linux Packaging Markup Language)

<!--
       Linux Packaging Markup Language version 1.0.
       Intended to be under General Public License,
       Second Version June 1991.

       Date: May 3, 2001
       Author: Scott Harrison

       Linux Packaging Markup Language aims to capture
       a source code development tree and effectively map
       that to a compilation and installation process for
       generating software packages and updating a run-time
       system.  This language helps handle dependency information,
       file globbing, file permissions, file ownerships,
       different targets for different linux distributions,
       preservation of configuration information, directory
       permissions, directory ownerships, compilation commands,
       and, ultimately, system software status reports.
-->
<!ENTITY % lpml.Version
        "-//TUX//DTD lpml 1.0 Final//EN"

        -- Typical usage:

            <!DOCTYPE lpml PUBLIC "-//TUX//DTD LPML 1.0 Final//EN">
            <lpml>

            </lpml>
        --
        >

<!ELEMENT targetroot (#PCDATA)>
<!ELEMENT sourceroot (#PCDATA)>

<!ELEMENT target (#PCDATA)>
<!ELEMENT source (#PCDATA)>
<!ELEMENT targetdir (#PCDATA)>
<!ELEMENT sourcedir (#PCDATA)>
<!ELEMENT glob (#PCDATA)>
<!ELEMENT distribution (#PCDATA)>
<!ELEMENT build (#PCDATA)>
<!ELEMENT dependencies (#PCDATA)>
<!ELEMENT note (#PCDATA)>

<!ELEMENT category (chmod,chown,distribution?)>
<!ATTLIST category
    type CDATA #REQUIRED
    name CDATA #REQUIRED
    >
<!ELEMENT chown (#PCDATA)>
<!ELEMENT chmod (#PCDATA)>
<!ELEMENT distribution (#PCDATA)>

<!ELEMENT directory (targetdir,categoryname,description?,distribution?)>

<!ELEMENT file (source,target,categoryname,description?,distribution?)>
<!ELEMENT fileglob (glob,sourcedir,targetdir,categoryname,
                    description?,distribution?)>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>