htmldir = ${datadir}/doc/${PACKAGE}-${SLURM_VERSION_STRING}/html

man5_MANS = \
	acct_gather.conf.5 \
	burst_buffer.conf.5 \
	cgroup.conf.5 \
	gres.conf.5 \
	helpers.conf.5 \
	job_container.conf.5 \
	mpi.conf.5 \
	namespace.yaml.5 \
	oci.conf.5 \
	resources.yaml.5 \
	slurm.conf.5 \
	slurmdbd.conf.5 \
	topology.conf.5 \
	topology.yaml.5

if HAVE_MAN2HTML

html_DATA = \
	acct_gather.conf.html \
	burst_buffer.conf.html \
	cgroup.conf.html \
	gres.conf.html \
	helpers.conf.html \
	job_container.conf.html \
	mpi.conf.html \
	namespace.yaml.html \
	oci.conf.html \
	resources.yaml.html \
	slurm.conf.html \
	slurmdbd.conf.html \
	topology.conf.html \
	topology.yaml.html

MOSTLYCLEANFILES = ${html_DATA}

SUFFIXES = .html

.5.html:
	`dirname $<`/../man2html.py @SLURM_MAJOR@.@SLURM_MINOR@ $(srcdir)/../../html/header.txt $(srcdir)/../../html/footer.txt $<

endif
