Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/ntp/bin clean up man files copied during build
details: https://anonhg.NetBSD.org/src/rev/ee6073f4d85e
branches: trunk
changeset: 762737:ee6073f4d85e
user: plunky <plunky%NetBSD.org@localhost>
date: Sat Feb 26 19:17:37 2011 +0000
description:
clean up man files copied during build
also.. while we are putting the pages into different sections,
lets change the manpage contents to reflect that
diffstat:
external/bsd/ntp/bin/ntp-keygen/Makefile | 7 +++++--
external/bsd/ntp/bin/ntpd/Makefile | 7 +++++--
external/bsd/ntp/bin/ntpdc/Makefile | 7 +++++--
external/bsd/ntp/bin/ntpq/Makefile | 6 +++++-
4 files changed, 20 insertions(+), 7 deletions(-)
diffs (80 lines):
diff -r 604552662353 -r ee6073f4d85e external/bsd/ntp/bin/ntp-keygen/Makefile
--- a/external/bsd/ntp/bin/ntp-keygen/Makefile Sat Feb 26 18:22:58 2011 +0000
+++ b/external/bsd/ntp/bin/ntp-keygen/Makefile Sat Feb 26 19:17:37 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2010/08/28 15:42:46 kardel Exp $
+# $NetBSD: Makefile,v 1.3 2011/02/26 19:17:37 plunky Exp $
NOGCCERROR=yes
@@ -24,6 +24,9 @@
.PATH: ${DIST}
ntp-keygen.8: ntp-keygen.1
- @cp $? $@
+ ${_MKTARGET_BUILD}
+ ${TOOL_SED} -e "s,NTP-KEYGEN 1,NTP-KEYGEN 8," $? > $@
+
+CLEANFILES+=ntp-keygen.8
.include <bsd.prog.mk>
diff -r 604552662353 -r ee6073f4d85e external/bsd/ntp/bin/ntpd/Makefile
--- a/external/bsd/ntp/bin/ntpd/Makefile Sat Feb 26 18:22:58 2011 +0000
+++ b/external/bsd/ntp/bin/ntpd/Makefile Sat Feb 26 19:17:37 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2010/12/04 23:08:33 christos Exp $
+# $NetBSD: Makefile,v 1.8 2011/02/26 19:17:37 plunky Exp $
#NOGCCERROR=yes
@@ -86,7 +86,10 @@
.PATH: ${DIST}
ntpd.8: ntpd.1
- @cp $? $@
+ ${_MKTARGET_BUILD}
+ ${TOOL_SED} -e "s,NTPD 1,NTPD 8," $? > $@
+
+CLEANFILES+=ntpd.8
.include <bsd.prog.mk>
diff -r 604552662353 -r ee6073f4d85e external/bsd/ntp/bin/ntpdc/Makefile
--- a/external/bsd/ntp/bin/ntpdc/Makefile Sat Feb 26 18:22:58 2011 +0000
+++ b/external/bsd/ntp/bin/ntpdc/Makefile Sat Feb 26 19:17:37 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2010/09/01 16:26:11 he Exp $
+# $NetBSD: Makefile,v 1.4 2011/02/26 19:17:38 plunky Exp $
.include <bsd.own.mk>
@@ -23,6 +23,9 @@
.PATH: ${DIST}
ntpdc.8: ntpdc.1
- @cp $? $@
+ ${_MKTARGET_BUILD}
+ ${TOOL_SED} -e "s,NTPDC 1,NTPDC 8," $? > $@
+
+CLEANFILES+=ntpdc.8
.include <bsd.prog.mk>
diff -r 604552662353 -r ee6073f4d85e external/bsd/ntp/bin/ntpq/Makefile
--- a/external/bsd/ntp/bin/ntpq/Makefile Sat Feb 26 18:22:58 2011 +0000
+++ b/external/bsd/ntp/bin/ntpq/Makefile Sat Feb 26 19:17:37 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2010/09/01 16:43:39 he Exp $
+# $NetBSD: Makefile,v 1.4 2011/02/26 19:17:38 plunky Exp $
# NOGCCERROR=yes
@@ -25,5 +25,9 @@
ntpq.8: ntpq.1
@cp $? $@
+ ${_MKTARGET_BUILD}
+ ${TOOL_SED} -e "s,NTPQ 1,NTPQ 8," $? > $@
+
+CLEANFILES+=ntpq.8
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index