transforms/docs
changeset 1066 23c7e5d8bebf
parent 976 3e60a8a2dff1
child 1729 6c8e3c04c6ee
equal deleted inserted replaced
1065:d0688b92e84d 1066:23c7e5d8bebf
    23 # Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 # man pages
    26 # man pages
    27 <transform dir file link hardlink path=usr.*/man(/.+){0,1}$ -> \
    27 <transform dir file link hardlink path=usr.*/man(/.+){0,1}$ -> \
    28     default facet.doc.man true>
    28     default facet.doc.man all>
    29 
    29 
    30 # texinfo docs
    30 # texinfo docs
    31 <transform dir file link hardlink path=usr/.*/info(/.+){0,1}$ -> \
    31 <transform dir file link hardlink path=usr/.*/info(/.+){0,1}$ -> \
    32     default facet.doc.info true>
    32     default facet.doc.info all>
    33 <transform file path=usr/.*/info/.+$ -> \
    33 <transform file path=usr/.*/info/.+$ -> \
    34     add restart_fmri svc:/application/texinfo-update:default>
    34     add restart_fmri svc:/application/texinfo-update:default>
    35 <transform file path=usr/.*/info/dir$ -> exit 1 "Error: packaged texinfo directory file (%<action.path>)" >
    35 <transform file path=usr/.*/info/dir$ -> exit 1 "Error: packaged texinfo directory file (%<action.path>)" >
    36 
    36 
    37 # html docs
    37 # html docs
    38 <transform dir file link hardlink path=usr/.*/doc/.*(html?|css).* -> \
    38 <transform dir file link hardlink path=usr/.*/doc/.*(html?|css).* -> \
    39     default facet.doc.html true>
    39     default facet.doc.html all>
    40 <transform dir file link hardlink path=usr/lib/help/.*\.html$ -> \
    40 <transform dir file link hardlink path=usr/lib/help/.*\.html$ -> \
    41     default facet.doc.html true>
    41     default facet.doc.html all>
    42 
    42 
    43 # pdf docs
    43 # pdf docs
    44 <transform dir file link hardlink path=usr/.*/doc/.*\.pdf$ -> \
    44 <transform dir file link hardlink path=usr/.*/doc/.*\.pdf$ -> \
    45     default facet.doc.pdf true>
    45     default facet.doc.pdf all>
    46 
    46 
    47 # ps docs
    47 # ps docs
    48 <transform dir file link hardlink path=usr/.*/doc/.*\.ps$ -> \
    48 <transform dir file link hardlink path=usr/.*/doc/.*\.ps$ -> \
    49     default facet.doc.ps true>
    49     default facet.doc.ps all>
    50 
    50 
    51 # general documentation
    51 # general documentation
    52 <transform dir file link hardlink path=usr/.*/doc(/.+){0,1}$ -> \
    52 <transform dir file link hardlink path=usr/.*/doc(/.+){0,1}$ -> \
    53     default facet.doc true>
    53     default facet.doc all>
    54 
    54 
    55 # drop facet.doc if we have a type specific facet.
    55 # drop facet.doc if we have a type specific facet.
    56 <transform dir file link hardlink facet.doc.html=true -> delete facet.doc true>
    56 <transform dir file link hardlink facet.doc.html=all -> delete facet.doc all>
    57 <transform dir file link hardlink facet.doc.info=true -> delete facet.doc true>
    57 <transform dir file link hardlink facet.doc.info=all -> delete facet.doc all>
    58 <transform dir file link hardlink facet.doc.pdf=true -> delete facet.doc true>
    58 <transform dir file link hardlink facet.doc.pdf=all -> delete facet.doc all>
    59 <transform dir file link hardlink facet.doc.man=true -> delete facet.doc true>
    59 <transform dir file link hardlink facet.doc.man=all -> delete facet.doc all>