Open gdsotirov opened 2 years ago
@gdsotirov
P.S. There also do not seem to be an option to point the installation location of the files installed under
/usr/share/doc/rrdtool-x.y.z/txt
.
There is, it's just not a flag:
$ ./configure --help
[...]
RRDDOCDIR [DATADIR/doc/PACKAGE-VERSION] Documentation directory
The install location of documentation files, including HTML, is based on ${RRDDOCDIR}
instead of the usual --docdir
path and corresponding subpaths. Can't say I'm sure why, but this:
$ RRDDOCDIR=/tmp/rrdtool ./configure --prefix=/var/tmp/
$ make
$ make install
...Does install the HTML docs in /tmp/rrdtool/html/
, and the txt docs in /tmp/rrdtool/txt/
.
Thanks for the suggestion @ferdnyc - I'll try it as soon as possible. Anyway, I'd rather prefer to have separate flags for HTML and TXT documentation, so the files could be installed according to each OS recommended paths.
Describe the bug Installation of HTML documentation seems to ignore
--htmldir
option and files are always installed at/usr/share/doc/rrdtool-x.y.z/html
.To Reproduce Steps to reproduce the behavior:
./configure --htmldir=/usr/doc/rrdtool-x.y.z/html
;make
andmake install
;Expected behavior HTML documentation installed in the directory pointed by
--htmldir
option.P.S. There also do not seem to be an option to point the installation location of the files installed under
/usr/share/doc/rrdtool-x.y.z/txt
.