REQ xterm
[unleashed-userland.git] / transforms / docs
blobc27cf662d3b50c2b280ad9d284933071c69f2912
2 # CDDL HEADER START
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]
19 # CDDL HEADER END
23 # Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
26 # man pages
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>
33 # texinfo docs
34 <transform dir file link hardlink path=usr/.*/info(/.+){0,1}$ -> \
35     default facet.doc.info all>
36 <transform file path=usr/.*/info/.+$ -> \
37     add restart_fmri svc:/application/texinfo-update:default>
38 <transform file path=usr/.*/info/dir$ -> exit 1 "Error: packaged texinfo directory file (%<action.path>)" >
40 # html docs
41 <transform dir file link hardlink path=usr/.*/doc/.*(html?|css).* -> \
42     default facet.doc.html all>
43 <transform dir file link hardlink path=usr/lib/help/.*\.html$ -> \
44     default facet.doc.html all>
45 # Ruby API html docs
46 <transform file path=usr/ruby/.*/lib/ruby/vendor_ruby/.*/doc/.*/rdoc/* -> \
47     default facet.doc.html all>
49 # pdf docs
50 <transform dir file link hardlink path=usr/.*/doc/.*\.pdf$ -> \
51     default facet.doc.pdf all>
53 # ps docs
54 <transform dir file link hardlink path=usr/.*/doc/.*\.ps$ -> \
55     default facet.doc.ps all>
57 # Ruby API ri Docs
58 <transform file path=usr/ruby/.*/lib/ruby/vendor_ruby/.*/doc/.*/ri/* -> \
59     default facet.doc.ri all>
60 <transform file path=usr/ruby/.*/share/ri/.*/* -> default facet.doc.ri all>
62 # general documentation
63 <transform dir file link hardlink path=usr/.*/doc(/.+){0,1}$ -> \
64     default facet.doc all>
66 # drop facet.doc if we have a type specific facet.
67 <transform dir file link hardlink facet.doc.html=all -> delete facet.doc all>
68 <transform dir file link hardlink facet.doc.info=all -> delete facet.doc all>
69 <transform dir file link hardlink facet.doc.pdf=all -> delete facet.doc all>
70 <transform dir file link hardlink facet.doc.man=all -> delete facet.doc all>
71 <transform dir file link hardlink facet.doc.ri=all -> delete facet.doc all>