Commit Graph

114 Commits

Author SHA1 Message Date
lukem 88b5ee46e9 Install zoneinfo files NONBINMODE (444) instead of BINMODE (555).
Noted by David Laight on tech-toolchain.
2004-08-31 00:00:31 +00:00
jmc 84fafa3db5 Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
2004-06-21 18:20:08 +00:00
kleink 292533c827 Import tzdata2004a. 2004-05-27 20:41:15 +00:00
lukem 3e223f04c9 Use find . -type f | while read ... ${INSTALL} ... instead of ${PAX}
to install the zoneinfo files.
2004-01-30 04:30:51 +00:00
kleink 146efae431 Import tzdata2003e. 2003-12-20 00:18:23 +00:00
kleink f3ace71e62 Import tzdata2003e. 2003-12-20 00:18:10 +00:00
kleink 0cf415e538 Merge tzdata2003d. 2003-10-29 21:04:05 +00:00
kleink 38aab5f54e Import tzdata2003d. 2003-10-29 21:00:21 +00:00
lukem 130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
lukem 252bf981a7 support MAKEVERBOSE and use ${HOST_SH} 2003-10-19 14:20:28 +00:00
lukem f134f3dc38 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.
2003-07-18 08:26:01 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
kleink 329a5e8d04 Merge tzdata2003a. 2003-04-07 14:56:16 +00:00
kleink dd33b066ac Import tzdata2003a. 2003-04-07 14:50:38 +00:00
wiz 5a91827c81 through, not throught. 2003-01-06 12:29:48 +00:00
lukem 144b55005f Rework METALOG manipulation:
- add '-D ${DESTDIR}' to INSTPRIV, so install(8) removes the leading
  ${DESTDIR} from the metalogged path
- provide ${METADB.add} variable (for "${CAT} -l >> ${METALOG}"), to make
  it easier to replace manual metalog manipulation in the future.
- with manual metalog additions, don't add the leading ${DESTDIR} in the path
- in maketars, use "mtree -C ..." instead of
  "mtree -D ... | sed -e 's,\(.*\) \(\..*\),\2 \1,";

Benefits:
- maketars "Parsing METALOG" step speeds up from 29 seconds to 1.2 seconds
  on a P3-600.
  (This also benefits "make installworld" at the top level.)
- ${DESTDIR}/METALOG is easier to read without the leading "${DESTDIR}"
  on all the pathnames, and it's smaller as well.
2002-12-23 06:52:48 +00:00
lukem d9aa9519e8 Invoke ${PAX} with '-O' so that various errors don't hang the make
or the command with an interactive question.  (This also prevents
weird problems if a directory element of '-f path' is missing and
'make -j N' is being used).
2002-12-21 15:54:48 +00:00
lukem 41e588395b Instead of ${ZIC}-ing to ${DESTDIR}/usr/share/zoneinfo and using chmod and
chown to frob permissions, use ${ZIC} to ${.OBJDIR}/builddir, create a
temporary mtree(8) specfile, and use "${PAX} -M -N ${NETBSDSRCDIR}/etc"
to copy to ${DESTDIR}/usr/share/zoneinfo, looking up root:wheel in
${NETBSDSRCDIR}/etc instead of the host system database.
2002-12-19 10:56:39 +00:00
kleink 20b67c3da4 Import tzdata2002d. 2002-10-17 13:45:39 +00:00
mason c86d6704bc Use the new cat(1) locking functionality - should solve PR toolchain/16963.
If all goes well, will submit a batch of pull-up requests for netbsd-1-6
presently to bring these additions and fixes into 1.6.
2002-06-10 18:47:12 +00:00
kleink 4f8ed47fe8 Import tzdata2002c. 2002-04-16 18:36:13 +00:00
kleink 10e70e7bb6 Import tzdata2002c. 2002-04-16 18:35:39 +00:00
kleink c88af1acbc Import tzdata2002b. 2002-01-29 13:08:37 +00:00
mrg 2e2c2dfb4f do not overwrite ${ZIC} if it is already set. 2002-01-05 07:35:20 +00:00
lukem b0b0a32ad7 Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
kleink 1d6c2795c4 Import tzdata2001d. 2001-11-30 13:28:39 +00:00
perry d52d36ecc5 Uncomment a bunch of seemingly unused rules. It seems several people
do indeed use them in their private builds. Pointed out by Alan Barrett.
2001-11-26 15:24:20 +00:00
perry 88592afd34 1) Synthetically generate metadata for installed files when UNPRIVED
is set.
2) Remove the default timezone line, which noted that the
   functionality was now in src/etc/Makefile.
3) Comment out a huge swath of the file that repeated tests reveal
   never seem to be invoked -- they're apparently for generating zone
   files that include leap seconds and such. Must talk to Klaus about
   what they are for and whether we need them.
2001-11-24 21:37:23 +00:00
perry 2f370e4778 UNPRIVILEGED->UNPRIVED 2001-11-19 05:18:53 +00:00
kleink 78484d385d Import tzdata2001c. 2001-06-14 11:02:49 +00:00
kleink 676f85df90 Import tzdata2001b. 2001-04-06 10:11:16 +00:00
kleink 0d673d35c2 Import tzdata2001a. 2001-03-14 13:36:18 +00:00
kleink d4f46f5156 Import tzdata2000h. 2000-12-19 14:27:54 +00:00
kleink df3abfa175 Merge tzdata2000g. 2000-11-03 11:08:22 +00:00
kleink 68cef7d4b4 Import tzdata2000g. 2000-11-03 11:07:04 +00:00
kleink 8e0079b444 Merge tzdata2000f. 2000-08-11 12:03:21 +00:00
kleink 4c613c91ee Import tzdata2000f. 2000-08-11 12:00:56 +00:00
kleink 60eaf5abfb Import tzdata2000e. 2000-07-31 14:17:37 +00:00
kleink 761188a49b Import tzdata2000d. 2000-03-18 00:39:49 +00:00
kleink 405ae2b76f Import tzdata2000b. 2000-02-24 00:22:07 +00:00
kleink 99564313c8 Import tzdata1999j. 1999-11-16 22:43:06 +00:00
kleink a72e44b81a Import tzdata1999i. 1999-11-10 20:43:07 +00:00
simonb ba77c9abaf Don't chown installed files or directories if UNPRIVILEGED is defined.
"make build" should now work as a non-root user (tested on Alpha).
mtree spits out lots of warnings during "make distrib-dirs", but
these are non-fatal.
1999-08-21 06:30:11 +00:00
kleink 399fa5e6c8 Import tzdata1999e. 1999-08-19 20:21:25 +00:00
kleink aa7e5483ed Import tzdata1999d. 1999-03-31 11:10:14 +00:00
kleink 257beb4e19 Import tzdata1999c. 1999-03-27 11:14:50 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
mrg 8e7fba1cf0 tzdata 1999b 1999-02-02 00:51:48 +00:00
kleink ed61a6dd2a Import tzdata1998i. 1998-10-04 19:58:09 +00:00