aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ntp/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ntp/doc/Makefile')
-rw-r--r--usr.sbin/ntp/doc/Makefile69
1 files changed, 69 insertions, 0 deletions
diff --git a/usr.sbin/ntp/doc/Makefile b/usr.sbin/ntp/doc/Makefile
new file mode 100644
index 000000000000..b122df4f095b
--- /dev/null
+++ b/usr.sbin/ntp/doc/Makefile
@@ -0,0 +1,69 @@
+.include <src.opts.mk>
+
+PACKAGE=ntp
+SUBDIR= drivers hints icons pic scripts
+
+FILESDIR= ${SHAREDIR}/doc/ntp
+
+.if ${MK_HTML} != "no"
+FILES= access.html accopt.html assoc.html audio.html authentic.html \
+ authopt.html autokey.html bugs.html build.html clock.html \
+ clockopt.html cluster.html comdex.html config.html confopt.html \
+ copyright.html debug.html decode.html discipline.html discover.html \
+ extern.html filter.html hints.html history.html howto.html \
+ huffpuff.html index.html kern.html kernpps.html keygen.html leap.html \
+ miscopt.html monopt.html msyslog.html ntp-keygen.html ntp-wait.html \
+ ntp.conf.html ntp.keys.html ntp_conf.html ntpd.html ntpdate.html \
+ ntpdc.html ntpdsim.html ntpdsim_new.html ntpq.html ntpsnmpd.html \
+ ntptime.html ntptrace.html orphan.html parsedata.html \
+ parsenew.html poll.html pps.html prefer.html quick.html rate.html \
+ rdebug.html refclock.html release.html select.html sitemap.html \
+ sntp.html stats.html tickadj.html warp.html xleave.html
+.endif
+
+MAN= ntp.conf.5 ntp.keys.5
+MAN+= ntp-keygen.8 ntpd.8 ntpdate.8 ntpdc.8 ntpq.8 ntptime.8 sntp.8
+
+CLEANFILES= ntp.conf.5 ntp.keys.5
+CLEANFILES+= ntp-keygen.8 ntpd.8 ntpdc.8 ntpq.8 sntp.8
+
+SUFFIXES8= .1ntp-keygenmdoc \
+ .1ntpdmdoc \
+ .1ntpdcmdoc \
+ .1ntpqmdoc \
+ .1sntpmdoc
+
+.SUFFIXES: .html .5 .8 .5mdoc ${SUFFIXES8}
+
+.5mdoc.5:
+ sed '/^\.Dt /s/5mdoc/5/' ${.ALLSRC} > ${.TARGET}
+
+.for s in ${SUFFIXES8}
+$s.8:
+ sed '/^\.Dt /s/1[a-z-][a-z-]*/8/' ${.ALLSRC} > ${.TARGET}
+.endfor
+
+ntp.conf.5: ntp.conf.5mdoc
+
+ntp.keys.5: ntp.keys.5mdoc
+
+ntp-keygen.8: ntp-keygen.1ntp-keygenmdoc
+
+ntpd.8: ntpd.1ntpdmdoc
+
+ntpdc.8: ntpdc.1ntpdcmdoc
+
+ntpq.8: ntpq.1ntpqmdoc
+
+sntp.8: sntp.1sntpmdoc
+
+.PATH: ${SRCTOP}/contrib/ntp/html \
+ ${SRCTOP}/contrib/ntp/util \
+ ${SRCTOP}/contrib/ntp/ntpd \
+ ${SRCTOP}/contrib/ntp/ntpdc \
+ ${SRCTOP}/contrib/ntp/ntpq \
+ ${SRCTOP}/contrib/ntp/ntpsnmpd \
+ ${SRCTOP}/contrib/ntp/sntp \
+ ${SRCTOP}/contrib/ntp/util
+
+.include <bsd.prog.mk>