Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Provide and document GZIP_N_FLAG and TOOL_GZIP_N.
details: https://anonhg.NetBSD.org/src/rev/891a75da9b04
branches: trunk
changeset: 331205:891a75da9b04
user: apb <apb%NetBSD.org@localhost>
date: Tue Aug 05 15:25:20 2014 +0000
description:
Provide and document GZIP_N_FLAG and TOOL_GZIP_N.
These may be used to pass "-nT" instead of just "-n"
when the gzip program is actually pigz.
diffstat:
share/mk/bsd.README | 11 ++++++++++-
share/mk/bsd.own.mk | 8 +++++++-
2 files changed, 17 insertions(+), 2 deletions(-)
diffs (59 lines):
diff -r 0c7ffc248c84 -r 891a75da9b04 share/mk/bsd.README
--- a/share/mk/bsd.README Tue Aug 05 15:01:03 2014 +0000
+++ b/share/mk/bsd.README Tue Aug 05 15:25:20 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.README,v 1.334 2014/07/06 18:22:03 dholland Exp $
+# $NetBSD: bsd.README,v 1.335 2014/08/05 15:25:20 apb Exp $
# @(#)bsd.README 8.2 (Berkeley) 4/2/94
This is the README file for the make "include" files for the NetBSD
@@ -621,6 +621,10 @@
DOCMODE Documentation mode. [${NONBINMODE}]
+GZIP_N_FLAG Flags to pass to TOOL_GZIP to prevent it from inserting
+ file names or timestamps in the compressed output.
+ [-n, or -nT when TOOL_GZIP is really TOOL_PIGZ]
+
NLSDIR Base path for Native Language Support files installation.
[/usr/share/nls]
@@ -800,6 +804,11 @@
TOOL_GZIP Compression/decompression tool. [gzip]
+TOOL_GZIP_N Same as TOOL_GZIP, plus a command line option to
+ prevent it from inserting file names or timestamps
+ into the compressed output.
+ [${TOOL_GZIP} ${GZIP_N_FLAG}]
+
TOOL_HEXDUMP Ascii, decimal, hexadecimal, octal dump. [hexdump]
TOOL_HP300MKBOOT Make bootable image for hp300. [hp300-mkboot]
diff -r 0c7ffc248c84 -r 891a75da9b04 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Tue Aug 05 15:01:03 2014 +0000
+++ b/share/mk/bsd.own.mk Tue Aug 05 15:25:20 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.824 2014/07/24 20:29:19 plunky Exp $
+# $NetBSD: bsd.own.mk,v 1.825 2014/08/05 15:25:20 apb Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -1174,11 +1174,17 @@
${var}?= no
.endfor
+#
+# TOOL_GZIP and friends. These might refer to TOOL_PIGS or to the host gzip.
+#
.if ${USE_PIGZGZIP} != "no"
TOOL_GZIP= ${TOOL_PIGZ}
+GZIP_N_FLAG?= -nT
.else
TOOL_GZIP= gzip
+GZIP_N_FLAG?= -n
.endif
+TOOL_GZIP_N= ${TOOL_GZIP} ${GZIP_N_FLAG}
#
# Where X11 sources are and where it is installed to.
Home |
Main Index |
Thread Index |
Old Index