[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Examples



Hello Thibaut and *

Am 2008-05-05 16:07:35, schrieb Thibaut Paumard:
> I was talking of something like
>  /u/s/d/<package>-doc/html -> /u/s/d/<package>/html/
> where both are created in the -doc package, not
>  /u/s/d/<package>-doc -> /u/s/d/<package>/
> which is a really bad idea, for the reasons you mention and more. If  
> at all possible, I believe <package>-doc packages should Suggests:  
> <package> rather than Depends: on them. Use case: reading the doc on  
> my local machine while running the software on another one.

For some times (maybe for 2 years or such) I have asked nearly the  same
question about symlinking.  For example  you  have  a  sourcecode  which
build:

    package.deb
    package-dev.deb
    package-doc.deb

and "package-dev" and "package-doc" can be installed  without  depending
on "package" then you must use real directories like:

    /usr/share/doc/package
    /usr/share/doc/package-dev
    /usr/share/doc/package-doc

but, if you have packages like

    package-common.deb
    package-binary-1.deb
    package-binary-2.deb
    package-doc.deb

where "package-binary-X" DEPEND on "package-common"  then  you  can  use
Symlinks like

    /usr/share/doc/package-common
    /usr/share/doc/package-binary-1 -> /usr/share/doc/package-common
    /usr/share/doc/package-binary-2 -> /usr/share/doc/package-common
    /usr/share/doc/package-doc

but the "package-doc" would have its own directory since it does normaly
NOT depend on any binary packages.

(I have even installed tonns of -doc packages since years without having
installed  the  binaries;  Just for reading and learning)

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: