Module Name:    src
Committed By:   plunky
Date:           Sat Feb 26 19:17:38 UTC 2011

Modified Files:
        src/external/bsd/ntp/bin/ntp-keygen: Makefile
        src/external/bsd/ntp/bin/ntpd: Makefile
        src/external/bsd/ntp/bin/ntpdc: Makefile
        src/external/bsd/ntp/bin/ntpq: Makefile

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ntp/bin/ntp-keygen/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/ntp/bin/ntpd/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/bin/ntpdc/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/bin/ntpq/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/ntp/bin/ntp-keygen/Makefile
diff -u src/external/bsd/ntp/bin/ntp-keygen/Makefile:1.2 src/external/bsd/ntp/bin/ntp-keygen/Makefile:1.3
--- src/external/bsd/ntp/bin/ntp-keygen/Makefile:1.2	Sat Aug 28 15:42:46 2010
+++ src/external/bsd/ntp/bin/ntp-keygen/Makefile	Sat Feb 26 19:17:37 2011
@@ -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>

Index: src/external/bsd/ntp/bin/ntpd/Makefile
diff -u src/external/bsd/ntp/bin/ntpd/Makefile:1.7 src/external/bsd/ntp/bin/ntpd/Makefile:1.8
--- src/external/bsd/ntp/bin/ntpd/Makefile:1.7	Sat Dec  4 23:08:33 2010
+++ src/external/bsd/ntp/bin/ntpd/Makefile	Sat Feb 26 19:17:37 2011
@@ -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>
 

Index: src/external/bsd/ntp/bin/ntpdc/Makefile
diff -u src/external/bsd/ntp/bin/ntpdc/Makefile:1.3 src/external/bsd/ntp/bin/ntpdc/Makefile:1.4
--- src/external/bsd/ntp/bin/ntpdc/Makefile:1.3	Wed Sep  1 16:26:11 2010
+++ src/external/bsd/ntp/bin/ntpdc/Makefile	Sat Feb 26 19:17:38 2011
@@ -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>

Index: src/external/bsd/ntp/bin/ntpq/Makefile
diff -u src/external/bsd/ntp/bin/ntpq/Makefile:1.3 src/external/bsd/ntp/bin/ntpq/Makefile:1.4
--- src/external/bsd/ntp/bin/ntpq/Makefile:1.3	Wed Sep  1 16:43:39 2010
+++ src/external/bsd/ntp/bin/ntpq/Makefile	Sat Feb 26 19:17:38 2011
@@ -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>

Reply via email to