summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2004-01-06 07:25:40 +0000
committerlukem <lukem@NetBSD.org>2004-01-06 07:25:40 +0000
commitb83d8ffd8d1f484e045f3be5260b59fb9beca328 (patch)
tree3e8e39c144894ed39fc5bd85afd51333ebe1d030
parent0eb1806afbe3defa9f64b7a96a87772d62ae8ecf (diff)
rename release-info to etc-release
rename install-release-info to install-etc-release
-rw-r--r--Makefile4
-rw-r--r--etc/Makefile17
2 files changed, 11 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 4b4e16ef965..32acc706920 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.225 2004/01/04 13:30:09 lukem Exp $
+# $NetBSD: Makefile,v 1.226 2004/01/06 07:25:40 lukem Exp $
#
# This is the top-level makefile for building NetBSD. For an outline of
@@ -218,7 +218,7 @@ build:
.for tgt in ${BUILDTARGETS}
@(cd ${.CURDIR} && ${MAKE} ${tgt})
.endfor
- (cd ${.CURDIR}/etc && ${MAKE} install-release-info)
+ (cd ${.CURDIR}/etc && ${MAKE} install-etc-release)
@echo "Build started at: ${START_TIME}"
@printf "Build finished at: " && date
.endif
diff --git a/etc/Makefile b/etc/Makefile
index f740d12c609..aa2e956783c 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.271 2004/01/06 03:46:27 lukem Exp $
+# $NetBSD: Makefile,v 1.272 2004/01/06 07:25:40 lukem Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@@ -146,9 +146,8 @@ distribution: check_DESTDIR .WAIT distrib-dirs
.endif # !DISTRIBUTION_DONE
-.PHONY: MAKEDEV release-info
-CLEANFILES+= MAKEDEV release-info
-
+.PHONY: MAKEDEV
+CLEANFILES+= MAKEDEV
MAKEDEV:
${_MKTARGET_CREATE}
MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \
@@ -170,7 +169,9 @@ RELEASEVARS= BSDOBJDIR BSDSRCDIR BUILDID \
NOCLEANDIR NODISTRIBDIRS NOINCLUDES \
RELEASEDIR TOOLCHAIN_MISSING TOOLDIR USETOOLS
-release-info:
+.PHONY: etc-release install-etc-release
+CLEANFILES+= etc-release
+etc-release:
${_MKTARGET_CREATE}
@( echo "NetBSD ${DISTRIBVER}/${MACHINE}"; \
echo " $$(date -u) $${USER-root}@$$(hostname)"; \
@@ -187,10 +188,10 @@ release-info:
.endif
.endfor
-install-release-info: release-info
- ${_MKMSG_INSTALL} etc/release-info
+install-etc-release: etc-release
+ ${_MKMSG_INSTALL} etc/release
${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 444 \
- release-info ${DESTDIR}/etc/release
+ etc-release ${DESTDIR}/etc/release
# install-etc-files --
# Install etc (config) files; not performed by "make build"