Changeset 40917 for trunk/doc-new


Ignore:
Timestamp:
Oct 18, 2008, 12:04:29 PM (11 years ago)
Author:
simon@…
Message:

doc-new: Spelling fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/Makefile

    r38441 r40917  
    11# $Id$
    22
    3 # Makefile to generate the macports html guide and the man pages.
     3# Makefile to generate the MacPorts HTML guide and the man pages.
    44# The ports 'docbook-xsl', 'docbook-xml' and 'libxslt' have to be installed.
    55
    6 # If your macports isn't installed in /opt/local you have to change PREFIX
     6# If your MacPorts isn't installed in /opt/local you have to change PREFIX
    77# here.
    88
    99
    10 # Prefix of the macports installation.
     10# Prefix of the MacPorts installation.
    1111PREFIX = /opt/local
    1212
     
    1515CP       = /bin/cp
    1616RM       = /bin/rm
    17 LN      = /bin/ln
     17LN      = /bin/ln
    1818SED      = /usr/bin/sed
    1919TCLSH    = /usr/bin/tclsh
     
    3434MAN-TMP = $(MAN)/tmp
    3535
    36 # Path to the docbook xsl files.
     36# Path to the DocBook XSL files.
    3737DOCBOOK         = $(PREFIX)/share/xsl/docbook-xsl
    3838GUIDE-XSL       = $(GUIDE)/resources/single-page.xsl
     
    4040MAN-XSL         = $(MAN)/resources/macports.xsl
    4141
    42 # Docbook html stylesheet for the guide.
     42# DocBook HTML stylesheet for the guide.
    4343STYLESHEET = docbook.css
    4444
     
    4747all: guide man
    4848
    49 # Generate the html guide using DocBook from the xml sources in $(GUIDE-SRC).
     49# Generate the HTML guide using DocBook from the XML sources in $(GUIDE-SRC).
    5050guide:
    5151        $(MKDIR) -p $(GUIDE-RESULT)
     
    6262            $(GUIDE-RESULT)/index.html
    6363
    64 # Generate the chunked html guide with one section per file.
     64# Generate the chunked HTML guide with one section per file.
    6565guide-chunked:
    6666        $(MKDIR) -p $(GUIDE-RESULT-CHUNK)
     
    7676            's|(<h[0-9] [^>]*><a id="([^"]*)"></a>)([^<]*)(</h[0-9]>)|\1<a href="#\2">\3</a>\4|g' \
    7777            $(GUIDE-RESULT-CHUNK)/*.html
    78         # Add the table of contents to every junked html file.
     78        # Add the table of contents to every junked HTML file.
    7979        # If someone knows a better way to do this please change it.
    8080        $(TCLSH) toc-for-chunked.tcl $(GUIDE-RESULT-CHUNK)
    8181
    8282
    83 # Generate the man pages using DocBook from the xml source in $(MAN-SRC).
     83# Generate the man pages using DocBook from the XML source in $(MAN-SRC).
    8484# The portfile-*.xml and portgroup-*.xml files in $(GUIDE-SRC) are copied to
    8585# $(MAN-TMP) and modified (section -> refsection) so they can be used as man
    86 # xml source files and then xincluded in the real man xml files in $(MAN-SRC).
     86# XML source files and then xincluded in the real man XML files in $(MAN-SRC).
    8787man: $(MAN-XSL)
    8888        $(MKDIR) -p $(MAN-RESULT)
     
    112112        $(RM) -f  guide.tmp.xml
    113113
    114 # Validate the xml files for the guide.
     114# Validate the XML files for the guide.
    115115# These two steps are necessary as otherwise xmllint complains about missing
    116116# ids.
Note: See TracChangeset for help on using the changeset viewer.