Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/notes Add release targets, intended for use by the s...
details: https://anonhg.NetBSD.org/src/rev/1af7382c47fa
branches: trunk
changeset: 474178:1af7382c47fa
user: ross <ross%NetBSD.org@localhost>
date: Wed Jun 30 18:23:02 1999 +0000
description:
Add release targets, intended for use by the src/etc/Makefile `make release'.
diffstat:
distrib/notes/Makefile | 4 +++-
distrib/notes/Makefile.inc | 15 ++++++++++++++-
2 files changed, 17 insertions(+), 2 deletions(-)
diffs (47 lines):
diff -r 1edaecd3c29a -r 1af7382c47fa distrib/notes/Makefile
--- a/distrib/notes/Makefile Wed Jun 30 18:19:26 1999 +0000
+++ b/distrib/notes/Makefile Wed Jun 30 18:23:02 1999 +0000
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.11 1999/05/24 07:03:16 ross Exp $
+# $NetBSD: Makefile,v 1.12 1999/06/30 18:23:02 ross Exp $
+
+TARGETS += release
.ifndef ALLNOTES
SUBDIR = ${MACHINE}
diff -r 1edaecd3c29a -r 1af7382c47fa distrib/notes/Makefile.inc
--- a/distrib/notes/Makefile.inc Wed Jun 30 18:19:26 1999 +0000
+++ b/distrib/notes/Makefile.inc Wed Jun 30 18:23:02 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.5 1999/04/29 19:03:03 ross Exp $
+# $NetBSD: Makefile.inc,v 1.6 1999/06/30 18:23:02 ross Exp $
# Ross Harvey <ross%netbsd.org@localhost>
@@ -12,6 +12,8 @@
SRCS= ${MAIN} mirrors whatis contents hardware xfer prep install\
upgrade donations legal.common legal postinstall ../Makefile.inc\
${MERGED_SRCS}
+ICMD= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} \
+ -o root -g wheel -m ${NONBINMODE}
PRESET= ${GFLAGS} -dV=$V -dV_S=${V_S} -dMACHINE=$M -d.CURDIR=${.CURDIR} -r$M=1
@@ -53,6 +55,17 @@
echomore!
@echo ${.OBJDIR}/${TARG}.more
+.ifndef RELEASEDIR
+release:
+ @echo setenv RELEASEDIR first
+ @false
+.else
+release:
+.for i in ${TARGS}
+ ${ICMD} ${i} ${RELEASEDIR}/.
+.endfor
+.endif
+
.PATH: ${.CURDIR}/../common
# make the "afterdepend" rule happy
Home |
Main Index |
Thread Index |
Old Index