Module Name:    src
Committed By:   apb
Date:           Fri Sep  9 14:23:38 UTC 2011

Modified Files:
        src: Makefile
        src/doc: BUILDING.mdoc
Added Files:
        src/doc: Makefile

Log Message:
Move the code for creating src/BUILDING from "make build-docs" in
src/Makefile to "make regen" in src/doc/Makefile, and update a comment
in doc/BUILDING.mdoc to match.


To generate a diff of this commit:
cvs rdiff -u -r1.288 -r1.289 src/Makefile
cvs rdiff -u -r1.83 -r1.84 src/doc/BUILDING.mdoc
cvs rdiff -u -r0 -r1.1 src/doc/Makefile

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

Modified files:

Index: src/Makefile
diff -u src/Makefile:1.288 src/Makefile:1.289
--- src/Makefile:1.288	Mon Aug  8 23:18:36 2011
+++ src/Makefile	Fri Sep  9 14:23:37 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.288 2011/08/08 23:18:36 jmcneill Exp $
+#	$NetBSD: Makefile,v 1.289 2011/09/09 14:23:37 apb Exp $
 
 #
 # This is the top-level makefile for building NetBSD. For an outline of
@@ -556,12 +556,6 @@
 .include <bsd.kernobj.mk>
 .include <bsd.subdir.mk>
 
-build-docs: .PHONY ${.CURDIR}/BUILDING
-${.CURDIR}/BUILDING: doc/BUILDING.mdoc
-	${_MKMSG_CREATE} ${.TARGET}
-	${TOOL_GROFF} -mdoc -Tascii -P-bou $> >$@
-
-
 #
 # Display current make(1) parameters
 #

Index: src/doc/BUILDING.mdoc
diff -u src/doc/BUILDING.mdoc:1.83 src/doc/BUILDING.mdoc:1.84
--- src/doc/BUILDING.mdoc:1.83	Fri Sep  9 14:01:28 2011
+++ src/doc/BUILDING.mdoc	Fri Sep  9 14:23:38 2011
@@ -1,4 +1,4 @@
-.\"	$NetBSD: BUILDING.mdoc,v 1.83 2011/09/09 14:01:28 apb Exp $
+.\"	$NetBSD: BUILDING.mdoc,v 1.84 2011/09/09 14:23:38 apb Exp $
 .\"
 .\" Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,8 +27,8 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" NOTE: After changing this file, run "make build-docs" to generate the
-.\" proper plaintext versions, and check in all BUILDING.* files!
+.\" NOTE: After changing this file, run "make regen" in the src/doc
+.\" directory, and check in both src/BUILDING and src/doc/BUILDING.mdoc.
 .\"
 .\" Toolchain prefix for commands
 .ds toolprefix nb

Added files:

Index: src/doc/Makefile
diff -u /dev/null src/doc/Makefile:1.1
--- /dev/null	Fri Sep  9 14:23:38 2011
+++ src/doc/Makefile	Fri Sep  9 14:23:38 2011
@@ -0,0 +1,8 @@
+#	$NetBSD: Makefile,v 1.1 2011/09/09 14:23:38 apb Exp $
+
+.include <bsd.own.mk>
+
+regen: .PHONY regen-BUILDING
+regen-BUILDING: .PHONY
+	${TOOL_GROFF} -mdoc -Tascii -P-bou ${.CURDIR}/BUILDING.mdoc \
+		>${.CURDIR}/../BUILDING

Reply via email to