summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ntp/Makefile3
-rw-r--r--usr.sbin/ntp/doc/Makefile2
2 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ntp/Makefile b/usr.sbin/ntp/Makefile
index 3ed705a..e3ab3c7 100644
--- a/usr.sbin/ntp/Makefile
+++ b/usr.sbin/ntp/Makefile
@@ -3,9 +3,6 @@
SUBDIR= libntp libparse ntpd ntpdc ntpq ntpdate ntptrace \
ntptime ntp-keygen sntp
-
-.if !defined(NO_MAN)
SUBDIR+= doc
-.endif
.include <bsd.subdir.mk>
diff --git a/usr.sbin/ntp/doc/Makefile b/usr.sbin/ntp/doc/Makefile
index 89646b2..d49a0db 100644
--- a/usr.sbin/ntp/doc/Makefile
+++ b/usr.sbin/ntp/doc/Makefile
@@ -2,6 +2,7 @@
FILESDIR= ${SHAREDIR}/doc/ntp
+.if !defined(NO_HTML)
FILES= accopt.html assoc.html audio.html authopt.html build.html \
clockopt.html \
config.html confopt.html copyright.html debug.html driver1.html \
@@ -18,6 +19,7 @@ FILES= accopt.html assoc.html audio.html authopt.html build.html \
ntptrace.html parsedata.html parsenew.html patches.html porting.html \
pps.html prefer.html quick.html rdebug.html refclock.html \
release.html tickadj.html
+.endif
MAN= ntp.conf.5 ntp.keys.5
MAN+= ntpd.8 ntpdate.8 ntpdc.8 ntpq.8 ntptime.8 ntptrace.8
OpenPOWER on IntegriCloud