xref: /freebsd/usr.sbin/ntp/doc/Makefile (revision c607b3258f15d4ea1710bc3cdbab05c9355c2828)
1c6063d0dSWarner Losh.include <src.opts.mk>
2e1fe3dbaSRuslan Ermilov
32f9966ffSLexi WinterPACKAGE=ntp
42b15cb3dSCy SchubertSUBDIR=	drivers hints icons pic scripts
52b15cb3dSCy Schubert
6dbee1004SRuslan ErmilovFILESDIR=	${SHAREDIR}/doc/ntp
78a3b8e2aSAlexey Zelkin
8e1fe3dbaSRuslan Ermilov.if ${MK_HTML} != "no"
92b15cb3dSCy SchubertFILES=	access.html accopt.html assoc.html audio.html authentic.html \
102b15cb3dSCy Schubert	authopt.html autokey.html bugs.html build.html clock.html \
112b15cb3dSCy Schubert	clockopt.html cluster.html comdex.html config.html confopt.html \
122b15cb3dSCy Schubert	copyright.html debug.html decode.html discipline.html discover.html \
132b15cb3dSCy Schubert	extern.html filter.html hints.html history.html howto.html \
142b15cb3dSCy Schubert	huffpuff.html index.html kern.html kernpps.html keygen.html leap.html \
152b15cb3dSCy Schubert	miscopt.html monopt.html msyslog.html ntp-keygen.html ntp-wait.html \
162b15cb3dSCy Schubert	ntp.conf.html ntp.keys.html ntp_conf.html ntpd.html ntpdate.html \
172b15cb3dSCy Schubert	ntpdc.html ntpdsim.html ntpdsim_new.html ntpq.html ntpsnmpd.html \
182b15cb3dSCy Schubert	ntptime.html ntptrace.html orphan.html parsedata.html \
192b15cb3dSCy Schubert	parsenew.html poll.html pps.html prefer.html quick.html rate.html \
202b15cb3dSCy Schubert	rdebug.html refclock.html release.html select.html sitemap.html \
212b15cb3dSCy Schubert	sntp.html stats.html tickadj.html warp.html xleave.html
22897c6f17SRuslan Ermilov.endif
238a3b8e2aSAlexey Zelkin
24345e52e7SRuslan ErmilovMAN=	ntp.conf.5 ntp.keys.5
252b15cb3dSCy SchubertMAN+=	ntp-keygen.8 ntpd.8 ntpdate.8 ntpdc.8 ntpq.8 ntptime.8 sntp.8
266d8a85ebSSheldon Hearn
27*c607b325SCy SchubertCLEANFILES=	ntp.conf.5 ntp.keys.5
28*c607b325SCy SchubertCLEANFILES+=	ntp-keygen.8 ntpd.8 ntpdc.8 ntpq.8 sntp.8
29*c607b325SCy Schubert
30*c607b325SCy SchubertSUFFIXES8=	.1ntp-keygenmdoc \
31*c607b325SCy Schubert		.1ntpdmdoc \
32*c607b325SCy Schubert		.1ntpdcmdoc \
33*c607b325SCy Schubert		.1ntpqmdoc \
34*c607b325SCy Schubert		.1sntpmdoc
35*c607b325SCy Schubert
36*c607b325SCy Schubert.SUFFIXES: .html .5 .8 .5mdoc ${SUFFIXES8}
37*c607b325SCy Schubert
38*c607b325SCy Schubert.5mdoc.5:
39*c607b325SCy Schubert	sed '/^\.Dt /s/5mdoc/5/' ${.ALLSRC} > ${.TARGET}
40*c607b325SCy Schubert
41*c607b325SCy Schubert.for s in ${SUFFIXES8}
42*c607b325SCy Schubert$s.8:
43*c607b325SCy Schubert	sed '/^\.Dt /s/1[a-z-][a-z-]*/8/' ${.ALLSRC} > ${.TARGET}
44*c607b325SCy Schubert.endfor
45*c607b325SCy Schubert
46*c607b325SCy Schubertntp.conf.5: ntp.conf.5mdoc
47*c607b325SCy Schubert
48*c607b325SCy Schubertntp.keys.5: ntp.keys.5mdoc
49*c607b325SCy Schubert
50*c607b325SCy Schubertntp-keygen.8: ntp-keygen.1ntp-keygenmdoc
51*c607b325SCy Schubert
52*c607b325SCy Schubertntpd.8:	ntpd.1ntpdmdoc
53*c607b325SCy Schubert
54*c607b325SCy Schubertntpdc.8: ntpdc.1ntpdcmdoc
55*c607b325SCy Schubert
56*c607b325SCy Schubertntpq.8: ntpq.1ntpqmdoc
57*c607b325SCy Schubert
58*c607b325SCy Schubertsntp.8: sntp.1sntpmdoc
59*c607b325SCy Schubert
60af6a5351SEnji Cooper.PATH: ${SRCTOP}/contrib/ntp/html \
61af6a5351SEnji Cooper	${SRCTOP}/contrib/ntp/util \
62af6a5351SEnji Cooper	${SRCTOP}/contrib/ntp/ntpd \
63*c607b325SCy Schubert	${SRCTOP}/contrib/ntp/ntpdc \
64*c607b325SCy Schubert	${SRCTOP}/contrib/ntp/ntpq \
65*c607b325SCy Schubert	${SRCTOP}/contrib/ntp/ntpsnmpd \
66*c607b325SCy Schubert	${SRCTOP}/contrib/ntp/sntp \
67*c607b325SCy Schubert	${SRCTOP}/contrib/ntp/util
688a3b8e2aSAlexey Zelkin
698a3b8e2aSAlexey Zelkin.include <bsd.prog.mk>
70