Commit Graph

134 Commits

Author SHA1 Message Date
lukem 8e931a8920 Use device number as well as inode to detect hardlinks.
Rename shell variable names to more accurately their purpose.
2006-02-27 09:08:10 +00:00
lukem 99f38b2f21 Deal correctly with hard-linked timezone (synonym) files during
the copy from the build directory to the DESTDIR.
/usr/share/zoneinfo is now smaller & use less inodes again.
Fixes problem I introduced in rev 1.37 on 2004/01/30.
2006-02-27 08:08:50 +00:00
kleink ea0ae86b8a Import tzdata2006a. 2006-01-31 11:59:32 +00:00
kleink be9b62f5eb Merge tzdata2005r. 2006-01-11 00:03:50 +00:00
kleink c82788388f Import tzdata2005r. 2006-01-11 00:01:23 +00:00
kleink 51fa053644 Import tzdata2005o. 2005-12-01 08:39:58 +00:00
kleink 01f5b4cf82 Merge tzdata2005n. 2005-10-07 23:13:13 +00:00
kleink b0db9252aa Import tzdata2005n. 2005-10-07 23:12:02 +00:00
kleink efa0c35187 Merge tzdata2005m. 2005-08-29 18:57:16 +00:00
kleink 2c698fdc25 Import tzdata2005m. 2005-08-29 18:55:15 +00:00
kleink c8b35567f7 Merge tzdata2005k. 2005-07-20 13:43:34 +00:00
kleink b26b9c7625 Import tzdata2005k. 2005-07-20 13:41:34 +00:00
kleink eadb9da154 Import tzdata2005i. 2005-04-23 22:19:33 +00:00
kleink aed9ebc3c4 Merge tzdata2005h. 2005-04-05 16:29:28 +00:00
kleink 5d35ad7a4a Import tzdata2005h. 2005-04-05 16:27:29 +00:00
kleink a996f028db Import tzdata2005g. 2005-03-16 10:37:26 +00:00
kleink 155d861bc7 Merge tzdata2005f. 2005-03-04 08:59:13 +00:00
kleink 0f845aa156 Import tzdata2005f. 2005-03-04 08:56:11 +00:00
kleink 6c51665c6e Merge tzdata2005e. 2005-02-12 00:31:41 +00:00
kleink bd9639e231 Import tzdata2005e. 2005-02-12 00:28:41 +00:00
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