commit | author | age
|
c7f04c
|
1 |
# |
NJ |
2 |
# CDDL HEADER START |
|
3 |
# |
|
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. |
|
7 |
# |
|
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. |
|
12 |
# |
|
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] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
21 |
|
|
22 |
# |
81b500
|
23 |
# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. |
c7f04c
|
24 |
# |
NJ |
25 |
|
|
26 |
# man pages |
c882f0
|
27 |
<transform dir file link hardlink path=usr.*/man/.+$ -> \ |
AP |
28 |
default facet.doc.man all> |
|
29 |
|
|
30 |
<transform dir path=usr.*/man$ -> \ |
c1ab3f
|
31 |
default facet.doc.man all> |
c7f04c
|
32 |
|
NJ |
33 |
# texinfo docs |
|
34 |
<transform dir file link hardlink path=usr/.*/info(/.+){0,1}$ -> \ |
c1ab3f
|
35 |
default facet.doc.info all> |
e584ec
|
36 |
<transform file path=usr/.*/info/.+$ -> \ |
9564a6
|
37 |
add restart_fmri svc:/application/texinfo-update:default> |
e584ec
|
38 |
<transform file path=usr/.*/info/dir$ -> exit 1 "Error: packaged texinfo directory file (%<action.path>)" > |
c7f04c
|
39 |
|
NJ |
40 |
# html docs |
81db49
|
41 |
<transform dir file link hardlink path=usr/.*/doc/.*(html?|css).* -> \ |
c1ab3f
|
42 |
default facet.doc.html all> |
c7f04c
|
43 |
<transform dir file link hardlink path=usr/lib/help/.*\.html$ -> \ |
c1ab3f
|
44 |
default facet.doc.html all> |
18b823
|
45 |
# Ruby API html docs |
AP |
46 |
<transform file path=usr/ruby/.*/lib/ruby/vendor_ruby/.*/doc/.*/rdoc/* -> \ |
|
47 |
default facet.doc.html all> |
c7f04c
|
48 |
|
NJ |
49 |
# pdf docs |
|
50 |
<transform dir file link hardlink path=usr/.*/doc/.*\.pdf$ -> \ |
c1ab3f
|
51 |
default facet.doc.pdf all> |
c7f04c
|
52 |
|
2cdf35
|
53 |
# ps docs |
RB |
54 |
<transform dir file link hardlink path=usr/.*/doc/.*\.ps$ -> \ |
c1ab3f
|
55 |
default facet.doc.ps all> |
18b823
|
56 |
|
AP |
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> |
2cdf35
|
61 |
|
f7c12f
|
62 |
# general documentation |
c7f04c
|
63 |
<transform dir file link hardlink path=usr/.*/doc(/.+){0,1}$ -> \ |
c1ab3f
|
64 |
default facet.doc all> |
f7c12f
|
65 |
|
NJ |
66 |
# drop facet.doc if we have a type specific facet. |
c1ab3f
|
67 |
<transform dir file link hardlink facet.doc.html=all -> delete facet.doc all> |
PS |
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> |
18b823
|
71 |
<transform dir file link hardlink facet.doc.ri=all -> delete facet.doc all> |