Bruce Dubbs wrote: > I was just reviewing the files installed bu LFS-6/5 and notice that the > udev-config documentation is installed in /usr/share/doc/udev-config. > > Shouldn't that be /usr/share/doc/udev-config-20090523?
Only if you avoid the autofoo standard by putting the version in the
directory name. ;-)
autoconf sets the default docdir to ${datarootdir}/doc/${PKG_TARNAME}
(or is it ${PACKAGE_TARNAME}? Either way.) The "tarname" is without
the version appended.
Some packages override this, of course... :-/
> We could change the install instruction in the book to:
>
> export DOC_DIR=/usr/share/doc/&udev-config;
> make -e install-doc
> make -e install-extra-doc
> unset DOC_DIR
>
> or similar.
Or:
make install-doc DOC_DIR=/....
make install-extra-doc DOC_DIR=/....
so that other random shell variables don't interfere.
> The above avoids any change to the udev-config tarball. Other
> options would be to change the Makefile in that tarball.
>
> Is this worth the effort?
Hmm.
It used to dump these into /usr/share/doc/udev-<version>. Now that udev
uses autofoo and /usr/share/doc/udev, maybe we should dump these docs
there instead.
Or not bother... they're rather old docs nowadays anyway. They need a
bit of a cleanup. :-(
signature.asc
Description: OpenPGP digital signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
