Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Move the code for creating src/BUILDING from "make build-doc...
details: https://anonhg.NetBSD.org/src/rev/26229b928c13
branches: trunk
changeset: 769425:26229b928c13
user: apb <apb%NetBSD.org@localhost>
date: Fri Sep 09 14:23:37 2011 +0000
description:
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.
diffstat:
Makefile | 8 +-------
doc/BUILDING.mdoc | 6 +++---
doc/Makefile | 8 ++++++++
3 files changed, 12 insertions(+), 10 deletions(-)
diffs (54 lines):
diff -r e21f7da605d6 -r 26229b928c13 Makefile
--- a/Makefile Fri Sep 09 14:01:28 2011 +0000
+++ b/Makefile Fri Sep 09 14:23:37 2011 +0000
@@ -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
#
diff -r e21f7da605d6 -r 26229b928c13 doc/BUILDING.mdoc
--- a/doc/BUILDING.mdoc Fri Sep 09 14:01:28 2011 +0000
+++ b/doc/BUILDING.mdoc Fri Sep 09 14:23:37 2011 +0000
@@ -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
diff -r e21f7da605d6 -r 26229b928c13 doc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/Makefile Fri Sep 09 14:23:37 2011 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index