# $FreeBSD$

DOCSDIR=	/usr/share/doc/ntp

HTMLS=	accopt.htm assoc.htm authopt.htm biblio.htm build.htm clockopt.htm \
	config.htm confopt.htm copyright.htm debug.htm driver1.htm \
	driver10.htm driver11.htm driver12.htm driver16.htm driver18.htm \
	driver19.htm driver2.htm driver20.htm driver22.htm driver23.htm \
	driver24.htm driver26.htm driver27.htm driver28.htm driver29.htm \
	driver3.htm driver30.htm driver32.htm driver33.htm driver34.htm \
	driver4.htm driver5.htm driver6.htm driver7.htm driver8.htm \
	driver9.htm exec.htm extern.htm gadget.htm hints.htm \
	howto.htm htmlprimer.htm index.htm kern.htm kernpps.htm \
	ldisc.htm measure.htm miscopt.htm monopt.htm mx4200data.htm \
	notes.htm ntpd.htm ntpdate.htm ntpdc.htm ntpq.htm ntptime.htm \
	ntptrace.htm parsedata.htm parsenew.htm patches.htm porting.htm \
	pps.htm prefer.htm quick.htm rdebug.htm refclock.htm release.htm \
	tickadj.htm vxworks.htm y2k.htm

beforeinstall:
.for file in ${HTMLS}
	cd ${.CURDIR}/../../../contrib/ntp/html ; \
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
		${DESTDIR}${DOCSDIR}
.endfor

.include <bsd.prog.mk>

Install ntp html docs as /usr/share/doc/ntp
Install ntp html docs as /usr/share/doc/ntp
