You are not logged in.
Hello,
Some programs like GNU Octave have their on-line help as a texinfo file. To use this, I need to install the related files in /usr/info. But in Arch /usr/info is not present.
How do I use texinfo so that info files are displayed properly?
I also need /usr/doc directory where some programs keep their documentation.
How to do this?
Thanks for your help.
Anand
Offline
Arch strips the /usr/doc and /usr/info directories from the packages. If you really want them for some package, you can change the PKGBUILD, by including this line:
options=('keepdocs')
and recomple the package.
Offline
Another option is to make a separate package that only holds the documentation, so users can choose if they want it themselves.
Here's an example PKGBUILD from AUR
# Contributor: Vinay S Shastry (vinayshastry@gmail.com)
pkgname=qt4-doc
pkgver=4.2.1
pkgrel=1
pkgdesc="The QT gui toolkit documentation."
url="http://www.trolltech.com/products/qt/index.html"
_pkgfqn=qt-x11-opensource-src-$pkgver
depends=('qt4>=4.2.1')
source=(ftp://ftp.trolltech.com/qt/source/$_pkgfqn.tar.gz)
md5sums=('2ab1c88084f55b94809f025a8503bf18')
options=('KEEPDOCS')
build() {
cd $startdir/src/$_pkgfqn
mkdir -p $startdir/pkg/opt/qt4/
cp -r doc $startdir/pkg/opt/qt4/
}
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Or, uncomment the line concerning documents in makepkg.conf.
Offline