Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/ntp Add rules for manual pages builds, remove i...
details: https://anonhg.NetBSD.org/src/rev/0a0777e83c6e
branches: trunk
changeset: 944760:0a0777e83c6e
user: christos <christos%NetBSD.org@localhost>
date: Sat Oct 10 14:23:34 2020 +0000
description:
Add rules for manual pages builds, remove including Makefile.inc
diffstat:
external/bsd/ntp/Makefile.inc | 28 ++++++++++++++++++++++++----
1 files changed, 24 insertions(+), 4 deletions(-)
diffs (47 lines):
diff -r f221b9fd43f1 -r 0a0777e83c6e external/bsd/ntp/Makefile.inc
--- a/external/bsd/ntp/Makefile.inc Sat Oct 10 14:23:05 2020 +0000
+++ b/external/bsd/ntp/Makefile.inc Sat Oct 10 14:23:34 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.19 2019/09/29 23:44:59 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.20 2020/10/10 14:23:34 christos Exp $
.if !defined(NTP_MAKEFILE_INC)
NTP_MAKEFILE_INC=yes
@@ -12,9 +12,6 @@
WARNS?= 4
-
-.include <bsd.own.mk>
-
IDIST= ${NETBSDSRCDIR}/external/bsd/ntp/dist
NTP_SRCDIR= ${NETBSDSRCDIR}/external/bsd/ntp
NTP_HTMLDIR= /usr/share/doc/reference/ref8
@@ -74,4 +71,27 @@
COPTS.refclock_ulink.c+= -Wno-error=implicit-fallthrough
.endif
+.SUFFIXES: .1 .5 .8 .1ntpdmdoc .5mdoc .1ntp-keygenmdoc .1ntpdcmdoc .1ntpqmdoc .1sntpmdoc
+
+.5mdoc.5:
+ ${TOOL_SED} -e 's/5mdoc/5/g' < ${.IMPSRC} > ${.TARGET}
+
+.1ntpdmdoc.8:
+ ${TOOL_SED} -e 's/1ntpdmdoc/8/g' < ${.IMPSRC} > ${.TARGET}
+
+.1ntp-keygenmdoc.8:
+ ${TOOL_SED} -e 's/1ntp-keygenmdoc/8/g' < ${.IMPSRC} > ${.TARGET}
+
+.1ntpdcmdoc.8:
+ ${TOOL_SED} -e 's/1ntpdcmdoc/8/g' < ${.IMPSRC} > ${.TARGET}
+
+.1ntpqmdoc.8:
+ ${TOOL_SED} -e 's/1ntpqmdoc/8/g' < ${.IMPSRC} > ${.TARGET}
+
+.1sntpmdoc.1:
+ ${TOOL_SED} -e 's/1sntpmdoc/1/g' < ${.IMPSRC} > ${.TARGET}
+
+
+CLEANFILES+=${MAN}
+
.endif
Home |
Main Index |
Thread Index |
Old Index