Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML documentation not installed in --htmldir #1178

Open
gdsotirov opened this issue Apr 30, 2022 · 2 comments
Open

HTML documentation not installed in --htmldir #1178

gdsotirov opened this issue Apr 30, 2022 · 2 comments

Comments

@gdsotirov
Copy link

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:

  1. Configure with ./configure --htmldir=/usr/doc/rrdtool-x.y.z/html;
  2. make and make 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.

@ferdnyc
Copy link
Contributor

ferdnyc commented Dec 12, 2022

@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/.

@gdsotirov
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants