[opensuse-packaging] The history behind docdir?
Can someone explain me why doc dir is handled the way it is? I mean: - Why %configure sets every dir but docdir? - Why we put docs in /usr/share/doc/packages instead of /usr/share/doc/ (as Fedora does)? This way there doesn't seems to be any specified function for plain /usr/share/doc and it just includes documentation of (wrong?) packages. - %_defaultdocdir vs %_docdir? - %_docdir_fmt is %%{NAME} while in Fedora it also includes the version. Also, there is any way to use it in the %files section? I would expect to be able to do something like %configure --docdir=%{_docdir}/%_docdir_fmt ... %files %{_docdir}/%_docdir_fmt - When the build system installs documentation in %_datadir/%name, should it be moved to %_docdir? Thanks. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 2010-09-14 13:31:42 +0200, Cristian Morales Vega wrote:
- Why %configure sets every dir but docdir?
because --docdir is kinda new and many configure scripts dont support it. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Cristian Morales Vega
-
Marcus Rueckert