Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ntp Fix build; clean manpages only if they are ...



details:   https://anonhg.NetBSD.org/src/rev/5aef771357e3
branches:  trunk
changeset: 976993:5aef771357e3
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Oct 11 07:07:31 2020 +0000

description:
Fix build; clean manpages only if they are generated automatically.

diffstat:

 external/bsd/ntp/Makefile.inc            |  6 +-----
 external/bsd/ntp/bin/ntp-keygen/Makefile |  4 +++-
 external/bsd/ntp/bin/ntpd/Makefile       |  4 +++-
 external/bsd/ntp/bin/ntpdc/Makefile      |  4 +++-
 external/bsd/ntp/bin/ntpq/Makefile       |  4 +++-
 external/bsd/ntp/bin/sntp/Makefile       |  4 +++-
 6 files changed, 16 insertions(+), 10 deletions(-)

diffs (98 lines):

diff -r b45ef2b06b00 -r 5aef771357e3 external/bsd/ntp/Makefile.inc
--- a/external/bsd/ntp/Makefile.inc     Sun Oct 11 00:33:30 2020 +0000
+++ b/external/bsd/ntp/Makefile.inc     Sun Oct 11 07:07:31 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.20 2020/10/10 14:23:34 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.21 2020/10/11 07:07:31 rin Exp $
 
 .if !defined(NTP_MAKEFILE_INC)
 NTP_MAKEFILE_INC=yes
@@ -90,8 +90,4 @@
 
 .1sntpmdoc.1:
        ${TOOL_SED} -e 's/1sntpmdoc/1/g' < ${.IMPSRC} > ${.TARGET}
-
-
-CLEANFILES+=${MAN}
-
 .endif
diff -r b45ef2b06b00 -r 5aef771357e3 external/bsd/ntp/bin/ntp-keygen/Makefile
--- a/external/bsd/ntp/bin/ntp-keygen/Makefile  Sun Oct 11 00:33:30 2020 +0000
+++ b/external/bsd/ntp/bin/ntp-keygen/Makefile  Sun Oct 11 07:07:31 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2019/10/04 09:47:28 mrg Exp $
+#      $NetBSD: Makefile,v 1.7 2020/10/11 07:07:31 rin Exp $
 
 .include <bsd.own.mk>
 
@@ -22,4 +22,6 @@
 
 COPTS.ntp-keygen.c+=   ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=restrict :}
 
+CLEANFILES+=${MAN}
+
 .include <bsd.prog.mk>
diff -r b45ef2b06b00 -r 5aef771357e3 external/bsd/ntp/bin/ntpd/Makefile
--- a/external/bsd/ntp/bin/ntpd/Makefile        Sun Oct 11 00:33:30 2020 +0000
+++ b/external/bsd/ntp/bin/ntpd/Makefile        Sun Oct 11 07:07:31 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.27 2020/09/06 07:20:26 mrg Exp $
+#      $NetBSD: Makefile,v 1.28 2020/10/11 07:07:31 rin Exp $
 
 .include <bsd.own.mk>
 
@@ -97,4 +97,6 @@
 COPTS.refclock_neoclock4x.c+=  ${GCC_NO_FORMAT_TRUNCATION}
 COPTS.ntp_io.c+=               ${GCC_NO_ADDR_OF_PACKED_MEMBER}
 
+CLEANFILES+=${MAN}
+
 .include <bsd.prog.mk>
diff -r b45ef2b06b00 -r 5aef771357e3 external/bsd/ntp/bin/ntpdc/Makefile
--- a/external/bsd/ntp/bin/ntpdc/Makefile       Sun Oct 11 00:33:30 2020 +0000
+++ b/external/bsd/ntp/bin/ntpdc/Makefile       Sun Oct 11 07:07:31 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2013/12/28 03:19:43 christos Exp $
+#      $NetBSD: Makefile,v 1.7 2020/10/11 07:07:31 rin Exp $
 
 .include <bsd.own.mk>
 
@@ -22,4 +22,6 @@
 
 .PATH: ${DIST}
 
+CLEANFILES+=${MAN}
+
 .include <bsd.prog.mk>
diff -r b45ef2b06b00 -r 5aef771357e3 external/bsd/ntp/bin/ntpq/Makefile
--- a/external/bsd/ntp/bin/ntpq/Makefile        Sun Oct 11 00:33:30 2020 +0000
+++ b/external/bsd/ntp/bin/ntpq/Makefile        Sun Oct 11 07:07:31 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2019/10/13 07:28:07 mrg Exp $
+#      $NetBSD: Makefile,v 1.9 2020/10/11 07:07:31 rin Exp $
 
 .include <bsd.own.mk>
 
@@ -23,4 +23,6 @@
 
 COPTS.ntpq.c+= ${GCC_NO_STRINGOP_TRUNCATION}
 
+CLEANFILES+=${MAN}
+
 .include <bsd.prog.mk>
diff -r b45ef2b06b00 -r 5aef771357e3 external/bsd/ntp/bin/sntp/Makefile
--- a/external/bsd/ntp/bin/sntp/Makefile        Sun Oct 11 00:33:30 2020 +0000
+++ b/external/bsd/ntp/bin/sntp/Makefile        Sun Oct 11 07:07:31 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2020/10/10 14:23:05 christos Exp $
+# $NetBSD: Makefile,v 1.9 2020/10/11 07:07:32 rin Exp $
 
 USE_FORT?= yes # network client/server
 
@@ -35,4 +35,6 @@
 
 COPTS.utilities.c+=    ${GCC_NO_FORMAT_TRUNCATION}
 
+CLEANFILES+=${MAN}
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index