Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/distrib/notes Apply patch (requested by toddpw, modifie...
details: https://anonhg.NetBSD.org/src/rev/e8f80a26ae92
branches: netbsd-1-4
changeset: 470485:e8f80a26ae92
user: he <he%NetBSD.org@localhost>
date: Wed Mar 29 22:38:45 2000 +0000
description:
Apply patch (requested by toddpw, modified by he):
Format HTML with latin1 characters. Add a "release" target to
install the formatted release notes.
diffstat:
distrib/notes/Makefile | 4 +++-
distrib/notes/Makefile.inc | 21 +++++++++++++++++----
2 files changed, 20 insertions(+), 5 deletions(-)
diffs (58 lines):
diff -r 5e43f63dfc6d -r e8f80a26ae92 distrib/notes/Makefile
--- a/distrib/notes/Makefile Wed Mar 29 22:17:41 2000 +0000
+++ b/distrib/notes/Makefile Wed Mar 29 22:38:45 2000 +0000
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.10 1999/01/13 07:30:01 ross Exp $
+# $NetBSD: Makefile,v 1.10.2.1 2000/03/29 22:38:45 he Exp $
+
+TARGETS+=release
.ifndef ALLNOTES
SUBDIR = ${MACHINE}
diff -r 5e43f63dfc6d -r e8f80a26ae92 distrib/notes/Makefile.inc
--- a/distrib/notes/Makefile.inc Wed Mar 29 22:17:41 2000 +0000
+++ b/distrib/notes/Makefile.inc Wed Mar 29 22:38:45 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.4.2.2 2000/02/10 21:39:30 he Exp $
+# $NetBSD: Makefile.inc,v 1.4.2.3 2000/03/29 22:38:45 he Exp $
# Ross Harvey <ross%netbsd.org@localhost>
@@ -12,14 +12,16 @@
SRCS= ${MAIN} whatis contents hardware xfer prep install\
upgrade donations legal.common legal postinstall ../Makefile.inc\
${MERGED_SRCS}
+ICMD= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} \
+ -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
PRESET= ${GFLAGS} -dV=$V -dV_S=${V_S} -dMACHINE=$M -d.CURDIR=${.CURDIR} -r$M=1
-POST_PLAIN= -P-b -P-u -P-o -Tascii
+POST_PLAIN= -P-b -P-u -P-o
ARGS_PS= ${PRESET} -dformat=PostScript
-ARGS_TXT= ${PRESET} -dformat=ASCII ${POST_PLAIN}
-ARGS_HTML= ${PRESET} -dformat=HTML ${POST_PLAIN} -ww
+ARGS_TXT= ${PRESET} -dformat=ASCII ${POST_PLAIN} -Tascii
+ARGS_HTML= ${PRESET} -dformat=HTML ${POST_PLAIN} -Tlatin1 -ww
ARGS_MORE= ${PRESET} -dformat=more -P-h -Tascii
#
@@ -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