transforms/docs
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 13 Mar 2017 12:15:33 -0700
changeset 7740 e9bb344268e8
parent 7441 043570f550ea
permissions -rw-r--r--
Close of build 120.1.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
     1
#
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
     2
# CDDL HEADER START
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
     3
#
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
     4
# The contents of this file are subject to the terms of the
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
     5
# Common Development and Distribution License (the "License").
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
     6
# You may not use this file except in compliance with the License.
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
     7
#
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    10
# See the License for the specific language governing permissions
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    11
# and limitations under the License.
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    12
#
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    18
#
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    19
# CDDL HEADER END
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    20
#
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    21
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    22
#
5887
67654f7c51e7 23169079 Move cairo to Userland and update to 1.14.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 2054
diff changeset
    23
# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
15
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    24
#
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    25
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    26
# man pages
7441
043570f550ea 25079220 xmlto man script accidentally marked with facet.doc.man=all
Rich Burridge <rich.burridge@oracle.com>
parents: 6042
diff changeset
    27
<transform dir path=usr.*/man(/.+)?$ -> default facet.doc.man all>
043570f550ea 25079220 xmlto man script accidentally marked with facet.doc.man=all
Rich Burridge <rich.burridge@oracle.com>
parents: 6042
diff changeset
    28
<transform file link hardlink path=usr.*/man/.+$ -> default facet.doc.man all>
15
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    29
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    30
# texinfo docs
1729
6c8e3c04c6ee 18314045 the docinfo transform is too broad - too many facet.doc.info
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1066
diff changeset
    31
6c8e3c04c6ee 18314045 the docinfo transform is too broad - too many facet.doc.info
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1066
diff changeset
    32
# tag texinfo directory links
6c8e3c04c6ee 18314045 the docinfo transform is too broad - too many facet.doc.info
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1066
diff changeset
    33
<transform link path=.*/info/dir$ -> default facet.doc.info all>
6c8e3c04c6ee 18314045 the docinfo transform is too broad - too many facet.doc.info
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1066
diff changeset
    34
# tag files directly under .../share/info/
6c8e3c04c6ee 18314045 the docinfo transform is too broad - too many facet.doc.info
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1066
diff changeset
    35
<transform file link hardlink path=.*/share/info/[^/]+$ -> \
1066
23c7e5d8bebf 15808775 SUNBT7189956 facet.compat.gnulinks takes precedence over facet.doc.man resulting
Petr Sumbera <petr.sumbera@oracle.com>
parents: 976
diff changeset
    36
    default facet.doc.info all>
1729
6c8e3c04c6ee 18314045 the docinfo transform is too broad - too many facet.doc.info
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1066
diff changeset
    37
# tag files in .../info/ that look like *.info[-#][.gz]
6c8e3c04c6ee 18314045 the docinfo transform is too broad - too many facet.doc.info
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1066
diff changeset
    38
<transform file link hardlink path=.*/info/[^/]+\.info(-\d+){0,1}(\.gz){0,1}$ -> \
6c8e3c04c6ee 18314045 the docinfo transform is too broad - too many facet.doc.info
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1066
diff changeset
    39
    default facet.doc.info all>
6c8e3c04c6ee 18314045 the docinfo transform is too broad - too many facet.doc.info
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1066
diff changeset
    40
# if there are tagged files, we want to restart the texinfo-update service so
6c8e3c04c6ee 18314045 the docinfo transform is too broad - too many facet.doc.info
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1066
diff changeset
    41
# that the directories get updated.
6c8e3c04c6ee 18314045 the docinfo transform is too broad - too many facet.doc.info
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1066
diff changeset
    42
<transform file facet.doc.info=all -> \
241
28e3e664e431 7017805 texinfo should move to userland (fix actuator)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 221
diff changeset
    43
    add restart_fmri svc:/application/texinfo-update:default>
1729
6c8e3c04c6ee 18314045 the docinfo transform is too broad - too many facet.doc.info
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1066
diff changeset
    44
# there shouldn't be any texinfo directory files in /usr.
6c8e3c04c6ee 18314045 the docinfo transform is too broad - too many facet.doc.info
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1066
diff changeset
    45
<transform file path=usr/.*/info/dir$ -> \
6c8e3c04c6ee 18314045 the docinfo transform is too broad - too many facet.doc.info
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1066
diff changeset
    46
    exit 1 "Error: packaged texinfo directory file (%<action.path>)" >
15
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    47
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    48
# html docs
138
089c2065503f 7016734 move pz7ip from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents: 15
diff changeset
    49
<transform dir file link hardlink path=usr/.*/doc/.*(html?|css).* -> \
1066
23c7e5d8bebf 15808775 SUNBT7189956 facet.compat.gnulinks takes precedence over facet.doc.man resulting
Petr Sumbera <petr.sumbera@oracle.com>
parents: 976
diff changeset
    50
    default facet.doc.html all>
15
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    51
<transform dir file link hardlink path=usr/lib/help/.*\.html$ -> \
1066
23c7e5d8bebf 15808775 SUNBT7189956 facet.compat.gnulinks takes precedence over facet.doc.man resulting
Petr Sumbera <petr.sumbera@oracle.com>
parents: 976
diff changeset
    52
    default facet.doc.html all>
6042
a973ed82292e 23245358 Move vala to Userland and update to 0.30.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5887
diff changeset
    53
<transform dir file link hardlink path=usr/share/devhelp/books/.* -> \
a973ed82292e 23245358 Move vala to Userland and update to 0.30.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5887
diff changeset
    54
    default facet.doc.html all>
5887
67654f7c51e7 23169079 Move cairo to Userland and update to 1.14.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 2054
diff changeset
    55
<transform dir file link hardlink path=usr/share/gtk-doc/html/.* -> \
67654f7c51e7 23169079 Move cairo to Userland and update to 1.14.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 2054
diff changeset
    56
    default facet.doc.html all>
67654f7c51e7 23169079 Move cairo to Userland and update to 1.14.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 2054
diff changeset
    57
2054
5f403d9bcaad PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents: 1729
diff changeset
    58
# Ruby API html docs
5f403d9bcaad PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents: 1729
diff changeset
    59
<transform file path=usr/ruby/.*/lib/ruby/vendor_ruby/.*/doc/.*/rdoc/* -> \
5f403d9bcaad PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents: 1729
diff changeset
    60
    default facet.doc.html all>
15
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    61
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    62
# pdf docs
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    63
<transform dir file link hardlink path=usr/.*/doc/.*\.pdf$ -> \
1066
23c7e5d8bebf 15808775 SUNBT7189956 facet.compat.gnulinks takes precedence over facet.doc.man resulting
Petr Sumbera <petr.sumbera@oracle.com>
parents: 976
diff changeset
    64
    default facet.doc.pdf all>
15
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    65
976
3e60a8a2dff1 7161369 Update clisp to version 2.49
Rich Burridge <rich.burridge@oracle.com>
parents: 954
diff changeset
    66
# ps docs
3e60a8a2dff1 7161369 Update clisp to version 2.49
Rich Burridge <rich.burridge@oracle.com>
parents: 954
diff changeset
    67
<transform dir file link hardlink path=usr/.*/doc/.*\.ps$ -> \
1066
23c7e5d8bebf 15808775 SUNBT7189956 facet.compat.gnulinks takes precedence over facet.doc.man resulting
Petr Sumbera <petr.sumbera@oracle.com>
parents: 976
diff changeset
    68
    default facet.doc.ps all>
976
3e60a8a2dff1 7161369 Update clisp to version 2.49
Rich Burridge <rich.burridge@oracle.com>
parents: 954
diff changeset
    69
2054
5f403d9bcaad PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents: 1729
diff changeset
    70
# Ruby API ri Docs
5f403d9bcaad PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents: 1729
diff changeset
    71
<transform file path=usr/ruby/.*/lib/ruby/vendor_ruby/.*/doc/.*/ri/* -> \
5f403d9bcaad PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents: 1729
diff changeset
    72
    default facet.doc.ri all>
5f403d9bcaad PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents: 1729
diff changeset
    73
<transform file path=usr/ruby/.*/share/ri/.*/* -> default facet.doc.ri all>
5f403d9bcaad PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents: 1729
diff changeset
    74
453
df0646878054 7074362 userland doc transforms need some love
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 241
diff changeset
    75
# general documentation
15
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 8
diff changeset
    76
<transform dir file link hardlink path=usr/.*/doc(/.+){0,1}$ -> \
1066
23c7e5d8bebf 15808775 SUNBT7189956 facet.compat.gnulinks takes precedence over facet.doc.man resulting
Petr Sumbera <petr.sumbera@oracle.com>
parents: 976
diff changeset
    77
    default facet.doc all>
453
df0646878054 7074362 userland doc transforms need some love
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 241
diff changeset
    78
df0646878054 7074362 userland doc transforms need some love
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 241
diff changeset
    79
# drop facet.doc if we have a type specific facet.
1066
23c7e5d8bebf 15808775 SUNBT7189956 facet.compat.gnulinks takes precedence over facet.doc.man resulting
Petr Sumbera <petr.sumbera@oracle.com>
parents: 976
diff changeset
    80
<transform dir file link hardlink facet.doc.html=all -> delete facet.doc all>
23c7e5d8bebf 15808775 SUNBT7189956 facet.compat.gnulinks takes precedence over facet.doc.man resulting
Petr Sumbera <petr.sumbera@oracle.com>
parents: 976
diff changeset
    81
<transform dir file link hardlink facet.doc.info=all -> delete facet.doc all>
23c7e5d8bebf 15808775 SUNBT7189956 facet.compat.gnulinks takes precedence over facet.doc.man resulting
Petr Sumbera <petr.sumbera@oracle.com>
parents: 976
diff changeset
    82
<transform dir file link hardlink facet.doc.pdf=all -> delete facet.doc all>
23c7e5d8bebf 15808775 SUNBT7189956 facet.compat.gnulinks takes precedence over facet.doc.man resulting
Petr Sumbera <petr.sumbera@oracle.com>
parents: 976
diff changeset
    83
<transform dir file link hardlink facet.doc.man=all -> delete facet.doc all>
2054
5f403d9bcaad PSARC/2014/275 Hiera 1.3.4
Kristina Tripp <Kristina.Tripp@oracle.com>
parents: 1729
diff changeset
    84
<transform dir file link hardlink facet.doc.ri=all -> delete facet.doc all>