Home | History | Annotate | Download | only in mk
History log of /src/share/mk/bsd.nls.mk
RevisionDateAuthorComments
 1.47  10-Sep-2011  apb Move all "clean" and "cleandir" processing to a new bsd.clean.mk
file, as proposed in tech-toolchain.
 1.46  16-Mar-2006  jwise Now that we have real build system support for syspkgs, remove someone's
half-implemented idea of building `syspkgs' (really a few giant blobs of the
same granularity of the old sets) using install(1).
 1.45  29-Jan-2004  lukem Cosmetically tweak how .PHONY is used by (generally) providing it as a source,
instead of using it as a target with all the rules as its sources.
 1.44  21-Oct-2003  lukem 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.
 1.43  19-Oct-2003  lukem Provide _MKMSG{BUILD,CREATE,COMPILE,FORMAT,INSTALL,LINK,LEX,YACC} to display
${_MKMSG} " ... {$.TARGET}" and use appropriately.

Provide _MKMSGLINK.m to provide "link" message by itself (without ${.TARGET})

Replace _MKSHCMD with _MKSHECHO
 1.42  18-Oct-2003  lukem Implement MAKEVERBOSE to control how "verbose" the standard make(1) rules are.
Supported values:
0 Minimal output ("quiet")
1 Describe what is occurring
2 Describe what is occurring and echo the actual command ("verbose")
This is the default, and is equivalent to the previous behaviour.
 1.41  18-Jul-2003  lukem 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.
 1.40  14-Jul-2003  lukem Be consistent with other bsd.*.mk, and pull in <bsd.init.mk> at the
start (which pulls in <bsd.own.mk>), and <bsd.obj.mk> and <bsd.sys.mk>
at the end. These provide the appropriate settings for TOOL_* .
 1.39  10-Jul-2003  lukem 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.
 1.38  22-Oct-2002  perry Pass 1 of SYSPKG changes to automatically add tags=pkgname_pkg to METALOG.
Not quite ready for prime time yet.
 1.37  11-Feb-2002  mycroft Don't use .PHONY for targets that are actually installed. Instead use force
dependencies. (Among other things, `make -t install' does something vaguely
sensible now.)
 1.36  03-Jan-2002  tv Don't end up with a "rm -f" statement with no args. Fixes toolchain/15074.
 1.35  28-Nov-2001  tv Fix the :U's used with ${UPDATE} so that stray values don't get put into
the .PHONY: target.
 1.34  06-Nov-2001  tv Remove dependency on NLSDIR entirely, now that it's not auto-created.
 1.33  06-Nov-2001  lukem Don't create missing NLS directories; require them to already exist
(by updating etc/mtree/NetBSD.dist as necessary).
`nlsinstall' is now in line with other *install targets.
 1.32  02-Nov-2001  tv Use INSTALL_FILE/INSTALL_DIR as appropriate.
 1.31  02-Nov-2001  tv Improve readability and reduce redundant redundancy in share/mk; add some
descriptive comments. The guts of hostprog, lib, and prog are mostly
unchanged; this will be done in another pass.

Make several things work properly with UNPRIVILEGED set, and make the
install-time "cmp" logic work for MANZ. Also reimplement INCS{DIR,NAME}_foo
(requested by wiz) in a backwards compatible way.

Reviewed by christos.
 1.30  14-Aug-2001  tv Use GENCAT as a variable to determine the location of "gencat".
 1.29  14-Aug-2001  tv Rather than explicitly saying "clean cleandir:" all the time, make clean
a dependency of cleandir (so that "make cleandir" implies "make clean").
 1.28  01-Jun-2001  tv Make "distclean" a REAL synonym for "cleandir" by actually aliasing it
in <bsd.own.mk>, rather than sprinkling it in all the .mk files (and
some Makefiles throughout the tree).
 1.27  08-May-2001  sommerfeld Suppress duplicate entries in ALLFILES, FILES, INCS, DEPINCS, INFOFILES,
NLSALL, CATPAGES, MANPAGES, HTMLPAGES, and SCRIPTS.
 1.26  08-Jun-2000  mycroft Rearrange slightly to get rid of unneeded conditionals (and make this
*slightly* less painful to trace through, though not much).
 1.25  07-Jun-2000  matt More lossage. You need to make the directory each catalog will go into.
 1.24  06-Jun-2000  mycroft Abuse .USE some more.
 1.23  06-Jun-2000  mycroft Minor rearrangement.
 1.22  06-Jun-2000  mycroft Use ODE make(1) features to eliminate extra variables and move several things
outside of .for loops. (Needs more work to completely eliminate .for.)

XXX Don't look at this stuff. It will make your head hurt.
 1.21  19-Feb-2000  erh branches: 1.21.2;
Add NOPATH to keep *.cat files in the search path from interfering with the build.
 1.20  22-Jan-2000  mycroft Make `dependall' play nicely with SUBDIR, using a hack similar to `realinstall'
for both `depend' and `all'.
Also, remove the old hack that invokes an extra shell for .depend, now that
make(1) has been fixed.
 1.19  04-Sep-1999  fredb Permit "make all install", as well as "make foo install" (where foo would be
installed by "make install") without setting of BUILD. All cases where BUILD
is already set are unchanged from the old behavior.

"make all install" is now practically equivalent to "make BUILD= all install",
but without actually setting build.

Fixes pr's 8313, 3894.
 1.18  21-Aug-1999  simonb Add ${INSTPRIV} to ${INSTALL} commands.
 1.17  12-Feb-1999  lukem branches: 1.17.2; 1.17.4;
for MKSHARE=no, set MKDOC=no MKMAN=no MKNLS=no, and for MKMAN=no, set
MKCATPAGES=no. this simplifies various tests.
 1.16  12-Feb-1999  lukem * Add support for MKDOC MKLINKLIB MKLINT MKMAN MKNLS MKOBJ MKPIC MKPICINSTALL
MKPROFILE MKSHARE, which default to `yes' unless an equivalent NOxxx
variable is defined.
* Add MKCATPAGES, which if "no" prevents catpages from being built or installed

Users should use "MKxxx=no" instead of "NOxxx=" in /etc/mk.conf, because
this allows easy override on the make(1) command line (e.g 'make MKSHARE=yes'
to override MKSHARE=no in /etc/mk.conf).
 1.15  04-Feb-1999  christos PR/2936: Brian C. Grayson: Avoid truncating precious files when installing
and the filesystem is full. Added ${RENAME} flag to install, which when set
to -r installs on a temporary file and then renames to the final destination.
${RENAME} is currently set to nothing in bsd.own.mk, but one can turn it
on in /etc/mk.conf.
 1.14  28-Sep-1998  christos Use preserve flag in install.
 1.13  27-Sep-1998  lukem don't build/install nls files if NOSHARE defined
 1.12  09-Aug-1998  lukem add distclean as a synonym for cleandir
 1.11  03-Apr-1998  enami Test target __initialized__ instead of .MAIN to see if inclusion
of ../Makefile.inc is necessary.
 1.10  11-Oct-1997  mycroft Several changes:
* Allow bsd.man.mk to be included separately.
* Always include bsd.own.mk and bsd.obj.mk.
* Include bsd.man.mk and bsd.nls.mk even if NOMAN or NONLS; just turn off
building of the affected files instead.
* Require bsd.subdir.mk to be included explicitly.
(Will make appropriate changes to Makefiles shortly.)
 1.9  09-May-1997  mycroft Automatically add the .c files corresponding to .l and .y files to DPSRCS.
Automatically add DPSRCS to CLEANFILES.
 1.8  07-May-1997  mycroft Always define cleanman.
 1.7  07-May-1997  mycroft Various simplifications.
 1.6  06-May-1997  mycroft Make most of the install targets .PRECIOUS.
 1.5  06-May-1997  mycroft Add a pile of missing .PHONYs.
 1.4  19-Apr-1997  christos Update for incremental make changes.
 1.3  18-Oct-1996  thorpej Use ${INSTALL} rather than "install".
From Simon J. Gerraty <sjg@zen.void.oz.au>, PR #1458.
 1.2  27-Apr-1995  jtc Only set NLSALL if NLS is defined and not empty.
 1.1  20-Apr-1995  jtc First cut of makefile header that builds and installs message catalogs.
 1.17.4.1  10-Aug-1999  mcr added Makefile flag "MORTALINSTALL" which removes -o/-g from
install arguments:
MORTALINSTALL If "yes", then omit setting group and ownership on
all files that are installed. This can be used to
permit non-root to install files, particularly
useful when working across NFS, or when $DESTDIR
is local. Do not use on production systems.

This relates to PR bin/3563.
These files are being checked into a branch because I want
them carefully reviewed by various parties, and because they
are not fully tested.
 1.17.2.1  10-Sep-1999  he Pull up revision 1.19:
Allow natural use of multiple "make" targets in the main tree
without setting BUILD, fixing PR#8313 and PR#3894.
 1.21.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.

RSS XML Feed