Changeset 123940


Ignore:
Timestamp:
Aug 16, 2014, 12:16:34 PM (5 years ago)
Author:
cal@…
Message:

base: port-distcheck.1: typo, use source: URL to reference contrib script, add source: macro to asciidoc.conf

Location:
trunk/base/doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/doc/asciidoc.conf

    r123002 r123940  
    55guideurl=http://guide.macports.org/
    66wikiurl=https://trac.macports.org/wiki/
     7sourceurl=https://trac.macports.org/browser/
    78
    89## man: macro
     
    1920(?su)[\\]?(?P<name>guide):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
    2021(?su)[\\]?(?P<name>wiki):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
     22(?su)[\\]?(?P<name>source):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
    2123
    2224# man: and guide: for docbook
     
    2729</citerefentry>
    2830[guide-inlinemacro]
    29 <ulink url="{guideurl}#{target}">{0={guideurl}{target}}</ulink>
     31<ulink url="{guideurl}#{target}">{0={guideurl}#{target}}</ulink>
    3032[wiki-inlinemacro]
    3133<ulink url="{wikiurl}{target}">{0={target}}</ulink>
     34[source-inlinemacro]
     35<ulink url="{sourceurl}{target}">{0={target}}</ulink>
    3236endif::backend-docbook[]
    3337
     
    3741<a href="{target}{0?.{0}}.html">{target}{0?({0})}</a>
    3842[guide-inlinemacro]
    39 <a href="{guideurl}#{target}">{0={guideurl}{target}}</a>
     43<a href="{guideurl}#{target}">{0={guideurl}#{target}}</a>
    4044[wiki-inlinemacro]
    4145<a href="{wikiurl}{target}">{0={target}}</a>
     46[source-inlinemacro]
     47<a href="{sourceurl}{target}">{0={target}}</a>
    4248endif::backend-xhtml11[]
    4349
  • trunk/base/doc/port-distcheck.1.txt

    r123826 r123940  
    1717-----------
    1818*port distcheck* downloads all source files for a given port from all available
    19 mirrors (including MacPorts' mirror infrastructure) and check that the
     19mirrors (including MacPorts' mirror infrastructure) and checks that the
    2020modification date of the file on the mirror is not more recent than the
    2121modification date of the Portfile.
     
    3131mirrors instead. See man:port-checksum[1].
    3232
    33 Meanwhile, you can use
    34 http://trac.macports.org/browser/contrib/port-checkmirrors[port-checkmirrors]
    35 from contrib to do that.
     33Meanwhile, you can use source:contrib/port-checkmirrors[port-checkmirrors] from
     34contrib to do that.
    3635
    3736include::global-flags.txt[]
Note: See TracChangeset for help on using the changeset viewer.