[slurm-users] configure --htmldir

Jason Bacon bacon4000 at gmail.com
Tue Apr 17 10:11:19 MDT 2018


FYI, I just discovered that doc/man/man1/Makefile does not respect 
configure's --htmldir flag:

[root at centosdev slurm]# fgrep '$ ./configure' work/slurm-17.11.5/config.log
   $ ./configure --bindir=/usr/pkg/bin 
--htmldir=/usr/pkg/share/doc/slurm-wlm/html --with-munge=/usr/pkg 
--with-hwloc=/usr/pkg --with-json=/usr/pkg --with-libssh2=/usr/pkg 
--prefix=/usr/pkg --build=x86_64-redhat-linux --host=x86_64-redhat-linux 
--mandir=/usr/pkg/man

[root at centosdev slurm]# grep ^htmldir work/slurm-17.11.5/Makefile 
work/slurm-17.11.5/doc/man/man1/Makefile
work/slurm-17.11.5/Makefile:htmldir = /usr/pkg/share/doc/slurm-wlm/html
work/slurm-17.11.5/doc/man/man1/Makefile:htmldir = 
${datadir}/doc/${PACKAGE}-${SLURM_VERSION_STRING}/html

Is this a bug or a feature?

Most of the generated Makefiles do respect --htmldir, but it looks like 
everything under doc does not:

[root at centosdev slurm]# find work/slurm-17.11.5/ -name Makefile -exec 
grep -H ^htmldir '{}' \; | fgrep SLURM_VERSION
work/slurm-17.11.5/doc/man/man5/Makefile:htmldir = 
${datadir}/doc/${PACKAGE}-${SLURM_VERSION_STRING}/html
work/slurm-17.11.5/doc/man/man8/Makefile:htmldir = 
${datadir}/doc/${PACKAGE}-${SLURM_VERSION_STRING}/html
work/slurm-17.11.5/doc/man/man1/Makefile:htmldir = 
${datadir}/doc/${PACKAGE}-${SLURM_VERSION_STRING}/html
work/slurm-17.11.5/doc/html/Makefile:htmldir = 
${datadir}/doc/${PACKAGE}-${SLURM_VERSION_STRING}/html

I can do a patch in the pkgsrc package to work around it, but maybe this 
needs to be fixed upstream...

Cheers,

     Jason

-- 
Earth is a beta site.




More information about the slurm-users mailing list