4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
27 <transform dir file link hardlink path=usr.*/man/.+$ -> \
28 default facet.doc.man all>
30 <transform dir path=usr.*/man$ -> \
31 default facet.doc.man all>
32 <transform file link hardlink path=usr.*/man/.+$ -> \
33 add restart_fmri svc:/system/makewhatis:default>
36 <transform dir file link hardlink path=usr/.*/info(/.+){0,1}$ -> \
37 default facet.doc.info all>
38 <transform file path=usr/.*/info/.+$ -> \
39 add restart_fmri svc:/application/texinfo-update:default>
40 <transform file path=usr/.*/info/dir$ -> exit 1 "Error: packaged texinfo directory file (%<action.path>)" >
43 <transform dir file link hardlink path=usr/.*/doc/.*(html?|css).* -> \
44 default facet.doc.html all>
45 <transform dir file link hardlink path=usr/lib/help/.*\.html$ -> \
46 default facet.doc.html all>
48 <transform file path=usr/ruby/.*/lib/ruby/vendor_ruby/.*/doc/.*/rdoc/* -> \
49 default facet.doc.html all>
52 <transform dir file link hardlink path=usr/.*/doc/.*\.pdf$ -> \
53 default facet.doc.pdf all>
56 <transform dir file link hardlink path=usr/.*/doc/.*\.ps$ -> \
57 default facet.doc.ps all>
60 <transform file path=usr/ruby/.*/lib/ruby/vendor_ruby/.*/doc/.*/ri/* -> \
61 default facet.doc.ri all>
62 <transform file path=usr/ruby/.*/share/ri/.*/* -> default facet.doc.ri all>
64 # general documentation
65 <transform dir file link hardlink path=usr/.*/doc(/.+){0,1}$ -> \
66 default facet.doc all>
68 # drop facet.doc if we have a type specific facet.
69 <transform dir file link hardlink facet.doc.html=all -> delete facet.doc all>
70 <transform dir file link hardlink facet.doc.info=all -> delete facet.doc all>
71 <transform dir file link hardlink facet.doc.pdf=all -> delete facet.doc all>
72 <transform dir file link hardlink facet.doc.man=all -> delete facet.doc all>
73 <transform dir file link hardlink facet.doc.ri=all -> delete facet.doc all>