1 |
On Sat, Aug 21, 2004 at 08:52:24PM -0400, Michael Sterrett -Mr. Bones.- wrote: |
2 |
|
3 |
> The "doc" USE flag isn't for installing basic docs for a package - |
4 |
> those should already be part of a normal merge. The doc use flag is for |
5 |
> installing "extra" documentaion of any kind. Making the installation of |
6 |
> examples dependent on the "doc" use flag is perfectly fine. I don't see |
7 |
> that adding an extra use flag specifically for examples as a good idea. |
8 |
|
9 |
In java, we have many libraries that are a few hundred kb, that come with |
10 |
multiple megabytes of generated documentation, that you will only need if |
11 |
you're a Java developer, and usually not even then. |
12 |
|
13 |
Also, as javadoc is a memory hog, generating the documentation may be |
14 |
prohibitive on older machines. |
15 |
|
16 |
For this reason, we have opted for not installing API documentation by |
17 |
default. |
18 |
|
19 |
|
20 |
In addition, some packages come with even bigger examples, that, as I pointed |
21 |
out, may be full-fledged applications on their own. Even only a small |
22 |
percentage of Java developers would every want to bother about that, but they |
23 |
may very well want to have the API docs. |
24 |
|
25 |
Hence, we have a very real need to separate between docs and examples. |
26 |
|
27 |
|
28 |
Even though 'examples' may never turn up as a global USE flag, I'm pretty |
29 |
confident that we'll add it to a good many packages maintained by the Java |
30 |
herd as a local USE flag in the not-so-distant future. |
31 |
|
32 |
|
33 |
-- Karl T |