History log of /freebsd-current/share/mk/bsd.info.mk
Revision Date Author Comments
# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 5852ae2d 03-Jun-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Revert r301079.

This breaks cross-building with WITH_META_MODE since it will rebuild
'build-tools' during the 'everything' phase.

A more proper fix is coming to bmake to implicitly require .META unless
.NOMETA (and other restrictions) are in place.


# 28849c57 31-May-2016 Bryan Drewery <bdrewery@FreeBSD.org>

WITH_META_MODE: Mitigate switching from without to with META_MODE.

Adding .META to targets-to-build will ensure that they will rebuild if there
is no .meta file.

Adding it to all SUFFIXES and objects ensures that at least objects will
rebuild if there is no .meta file.

This will be reverted if bmake's behavior changes to rebuild on missing .meta
files.

Sponsored by: EMC / Isilon Storage Division


# db74470b 26-Feb-2016 Bryan Drewery <bdrewery@FreeBSD.org>

DIRDEPS_BUILD: Fix some things building in MAKELEVEL0.

For PROGS this was recursing twice since MAKELEVEL0 is for 'dirdeps'
which then really builds in a sub-make.

Sponsored by: EMC / Isilon Storage Division


# 61c20fc7 15-Oct-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Make installing to a non-existent directory an error.

Before this, if a file was installed to DESTDIR/some/dir and that directory
was missing due to not having ran 'make distrib-dirs' yet, the file would
be installed as 'some/dir'. For something like bsd.incs.mk with INCLUDEDIR
being a sub-directory of /usr/include, this could result in all of the headers
being installed to a file rather than getting a directory of them.

Now it will error that the file/directory does not exist rather than hide
the issue.

Another option being discussed is to implement GNU's install -D flag which
would auto create any missing directories.

This is a mitigation of the problem. The proper order to the build is to
run 'make distrib-dirs' first, but that can be forgotten if building from
a sub-directory after updating the source code to the latest revision.

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division


# 082d0099 02-Jan-2015 Enji Cooper <ngie@FreeBSD.org>

Remove MK_INFO guards in bsd.info.mk per r276556

As a side-effect now info pages will always be built/installed if
MK_INFO == yes, whereas before their presence was conditional based on the
value of MK_INFO

This .mk file might be removed in the future, pending discussion on -arch. For
now unbreak its use outside of src (with the only use in ports according to
bapt being devel/cvs*)

X-MFC with: r276551, r276556
Reviewed by: bapt
Differential Revision: D1413


# 12dd8cb1 21-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Replace all known uses of ln in the build process with appropriate
install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK
variables.

Sponsored by: DARPA, AFRL
Reviewed by: ian, ray, rpaulo


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 9af8612e 29-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Don't run install-info under lockf if not installing in parallel.

Requested by: rwatson


# e1fe3dba 17-Mar-2006 Ruslan Ermilov <ru@FreeBSD.org>

Reimplementation of world/kernel build options. For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)


# 6660f1d7 03-Nov-2005 Ruslan Ermilov <ru@FreeBSD.org>

Serialize access to the info/dir file; needed for parallel installs.

Reported by: scottl

I'm not very fond of using the non-standard lockf(1) here, but I
have no better idea at the moment. NetBSD uses ln(1) to create a
lock file, but this approach can result in a deadlock if make is
interrupted, leaving an orphaned lock file.


# 82fd87a3 27-Feb-2005 David E. O'Brien <obrien@FreeBSD.org>

style.Makefile(5): remove trailing spaces.


# d966048e 06-Jan-2005 Kirill Ponomarev <krion@FreeBSD.org>

Remove trailing spaces.


# ab7a2947 21-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE


# 65d2bdc6 27-Jan-2004 Ruslan Ermilov <ru@FreeBSD.org>

Fixed bogus ${FOO:Mbar} tests where the actual intent is to check
if the result set is empty. While here, replaced non-bogus empty
string comparisons with equivalent empty() checks.


# b0eb809d 20-May-2003 Ruslan Ermilov <ru@FreeBSD.org>

Fixed typo in a comment.

PR: misc/52486
Submitted by: "Simon L. Nielsen" <simon@nitro.dk>
Approved by: re (jhb)


# d2893b16 29-Jul-2002 Ruslan Ermilov <ru@FreeBSD.org>

Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by: bde


# e8d5345d 06-Jul-2002 Ruslan Ermilov <ru@FreeBSD.org>

Part 1/2 of kerberos5/doc/ "make release" breakage fix:

Finish the fix of rev. 1.28 changes in rev. 1.47 (removed
gross dir file bootstrap rule again).


# c5234b56 24-Apr-2002 Ruslan Ermilov <ru@FreeBSD.org>

Abuse bsd.obj.mk for defining default distribute target.


# 01df2ec3 23-Apr-2002 David E. O'Brien <obrien@FreeBSD.org>

Change the name of the 'bin' distribution to 'base'.
This is done since it contains much more than /bin, and also gets in the
way when making a combined install+fixit CD.

OK'ed by: jkh


# b25a566d 23-Apr-2002 Ruslan Ermilov <ru@FreeBSD.org>

Merge bsd.obj.mk's version of the _SUBDIR target with bsd.subdir.mk.

Ensure all standard targets honor SUBDIR. Now `make obj' descends into
SUBDIRs even if NOOBJ is set (some descendants may still need an object
directory, but we do not have such precedents). Now `make install' in
non-bsd.subdir.mk makefiles runs `afterinstall' target _after_ `install'
in SUBDIRs, like we do in bsd.subdir.mk. Nothing depended on the wrong
order anyway.

Fixed `distribute' targets (except for the bsd.subdir.mk version) so that
they do not depend on _SUBDIR; `distribute' calls `install' which already
depends on _SUBDIR.

De-standardize `maninstall', otherwise manpages would be installed twice.
(To be revised later.)


# 2bdaf7e8 17-Apr-2002 Ruslan Ermilov <ru@FreeBSD.org>

Don't include bsd.own.mk from sys.mk, this makes it impossible
to use ``.if defined()'' inside bsd.own.mk to test for defines
in individual makefiles. For example, setting DEBUG_FLAGS in
Makefile didn't take the desired effect on the STRIP assignment.

Added bsd.init.mk (like in NetBSD) that handles the inclusion
of ../Makefile.inc and bsd.own.mk from all bsd.*.mk files that
"build something".

Back out bsd.own.mk,v 1.15: moved OBJFORMAT initialization back
to sys.mk (several source tree makefiles want to check it early)
and removed MACHINE_ARCH initialization (it's hard to see from
looking at the commitlogs what the problem was at the time, but
now it serves no purpose).

Prohibit the direct inclusion of bsd.man.mk and bsd.libnames.mk.

Protect bsd.obj.mk from repetitive inclusion. Prohibiting the
direct inclusion of bsd.obj.mk might be a good idea too.


# afabc4df 18-Mar-2002 Bruce Evans <bde@FreeBSD.org>

Removed bogus env(1) commands. make(1) uses a real shell, so
"env name=value ... cmd ..." was just a pessimized way of doing
"name=value ... cmd ...". Note that make(1) can't optimize
either of these to an exec of env(1) or "cmd" even if the second
"..." is simple, since it can't tell that the shell metacharacter
in "name=value" is actually handled by env(1).


# 918fb560 27-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

Make it possible to build manpages for the entire source tree.


# 395e4e5a 15-May-2000 Bruce Evans <bde@FreeBSD.org>

Don't create a garbage file named "install" for the NOINFO case when
there happens to be a source file named install.sh. The null rule
for "install" in the NOINFO case must not be completely null, since
then it may be overridden by the implicit .sh rule.


# a342f0f6 24-Jan-2000 Ruslan Ermilov <ru@FreeBSD.org>

o Use --defsection and --defentry options of install-info(1) instead of
"fancy substitutions".
o Invoke install-info(1) with --quiet to automatically remove duplicate
Info dir entries.

Reviewed by: bde


# 7f3dea24 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 305b9189 30-Jan-1999 Bruce Evans <bde@FreeBSD.org>

Rewrote the changes in rev.1.53. Don't ignore errors from makeinfo.
Use fancy substitutions instead of a huge if statement to handle the
rather delicate quoting.


# 50d5db08 20-Jan-1999 Andrey A. Chernov <ache@FreeBSD.org>

remove - before __entry, it is not make conmmand but shell continuation line


# d7eb2472 19-Jan-1999 Mark Murray <markm@FreeBSD.org>

Texinfo has been upgraded. This needs to catch up.
Submitted by: lkoeller@cc.fh-lippe.de


# c1bec882 14-Jan-1999 Mark Murray <markm@FreeBSD.org>

Option names have changes for texinfo-3.12


# e0301e5d 08-Aug-1998 Peter Wemm <peter@FreeBSD.org>

Make ../Makefile.inc handling more consistant to prevent multiple includes
when certain .mk files include other .mk files. This will remove the
need for multiple include protection in some other makefiles around the
tree (and helps some elf conditionals).


# 5a9eee48 06-May-1998 Bruce Evans <bde@FreeBSD.org>

Only include bsd.dep.mk in `mk'files that handle C sources. Abuse
bsd.obj.mk instead of bsd.dep.mk for defining the _SUBDIR target
and a default tags target. Abuse bsd.obj.mk for defining default
cleandepend and depend targets.


# 69b87d3e 12-Mar-1998 Eivind Eklund <eivind@FreeBSD.org>

Introduce the 'regress' target.

Silently approved by: -hackers, -current


# 935f96e7 25-Dec-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

DISTRIBUTION is bin (we'll make the info dist another way).


# 079512d1 16-Dec-1997 Bruce Evans <bde@FreeBSD.org>

Removed gross dir file bootstrap rule again. It would break building
when there is no /usr/src/share/info if it were actually used.

Added comments to explain duplicated tex commands.

Use substitution in IFILENS to simplify some things.

Removed /g from many substitutions. It is bogus for anchored matches.

Don't echo nothing.

Don't add things that wouldn't be built with the current options to
CLEANFILES (except for some cases involving tex).
Reviewed by: wosch


# 70e244f8 09-Nov-1997 Wolfram Schneider <wosch@FreeBSD.org>

Remove the comments hat just list the nested includes.
The lists don't provide significantly more information than
grep '\.include', and grep gives lists that are actually correct.
Submitted by: Bruce


# 938d2a75 12-Oct-1997 Wolfram Schneider <wosch@FreeBSD.org>

Support output format html.
Add make variables INFO2HTML, TEX, DVIPS, DVIPS2ASCII.


# 3f3e72d5 11-Oct-1997 Wolfram Schneider <wosch@FreeBSD.org>

Do not use an intermediate file. The intermediate filename will go
into the info output which may breaks other programs (e.g. info2html).


# 8d20e51f 09-Oct-1997 Wolfram Schneider <wosch@FreeBSD.org>

Bugfix for rev 1.41:
makeinfo does not understand the tex command \input


# 7c31952e 04-Oct-1997 Wolfram Schneider <wosch@FreeBSD.org>

Delete redundant entries.
Run tex twice due cross references.
Cleanup many tex generated files in `make clean'
Format latin1 output in 80 characters column (was ~110 characters).


# 4e8f5527 01-Oct-1997 Wolfram Schneider <wosch@FreeBSD.org>

Support output formats dvi, ps, latin1.


# 398ac038 21-Jun-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Change the distribute targets so that a given item in our source tree
can place itself into n distributions, where n >= 1.


# f40b37bd 30-Apr-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Put the "grossness" back; it had a purpose and anyone screwing around
with these files MUST understand what a `make release' does before
making changes like this or get nasty-grams from me when my builds start
falling over. In fact, if they can't test "make release" after making
such changes then they *should leave these files completely alone*.
Thank you.


# c0bb409c 30-Apr-1997 Bruce Evans <bde@FreeBSD.org>

Oops. The previous change duplicated the grossness instead of removing it.


# a4600967 30-Apr-1997 Bruce Evans <bde@FreeBSD.org>

Removed gross dir file bootstrap rule. Keep depending on the dir
file so that we fail if it isn't already installed. The bootstrap
is now done by `make install' in the top-level src directory. As
well as being gross, the rule didn't actually work for src trees
other than /usr/src, and this is difficult to fix since the whole
src tree may not exist.


# 3bfa8cb1 07-Apr-1997 Bruce Evans <bde@FreeBSD.org>

Include ${CURDIR}/../Makefile.inc as in most other `.mk' files. This
is most useful for centralizing the definitions of paths to contrib
directories.

Removed useless subshell and evil-hiding @ in the the rule for
initializing the info dir.


# f477a272 28-Mar-1997 Peter Wemm <peter@FreeBSD.org>

Fix some bugs from bde's list (long lines)


# 4c987fb1 12-Mar-1997 Peter Wemm <peter@FreeBSD.org>

makeinfo can fail but still leave behind zero length files which cause
interesting problems because the resulting file is newer than the source
and this stops 'make' from rebuilding it. Go via an intermediate file
and rename to make sure this doesn't happen.


# a53988f8 11-Mar-1997 Peter Wemm <peter@FreeBSD.org>

Move the conditional declarations of ICOMPRESS_CMD and ICOMPRESS_EXT
to before they are used in .for loops and .SUFFIXES lists, or it
doesn't work! Without this, 'make all' doesn't gzip the result as the
generated 'all' target doesn't seem to be defined completely.


# f7ea12a0 08-Mar-1997 Wolfram Schneider <wosch@FreeBSD.org>

Add new variables COMPRESS_CMD and COMPRESS_EXT.

bsd.doc.mk:
rename GZIPCMD to DCOMPRESS_CMD, add DCOMPRESS_EXT
bsd.info.mk:
rename GZIPCMD to ICOMPRESS_CMD, add ICOMPRESS_EXT
set INFOTMPL to ${INFODIR}/dir-tmpl
bsd.man.mk
rename ZEXTENSION to MCOMPRESS_EXT, MCOMPRESS to MCOMPRESS_CMD


# b97fa2ef 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 9ca816cb 14-Jan-1997 Wolfram Schneider <wosch@FreeBSD.org>

Move gzip(1) option -c from commandline into variable GZIPCMD. Not
all compress programs (e.g. cat(1)) support the option -c.


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# aac45e81 13-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make sure dir file exists before we call install-info, which requires it.
Sorry, I know it's a gross fix to call share/info's install target as
a side-effect, but that's less gross than propagating the work-around
changes to files which have nothing to do with the info system.


# 0f22460d 12-Jan-1997 Wolfram Schneider <wosch@FreeBSD.org>

Add comments about variables and targets. Incomplete, see '???'.


# be216bf8 12-Jan-1997 Peter Wemm <peter@FreeBSD.org>

one more tweak to make it fly without INFO defined. (like bsd.prog.mk)


# 167a6347 12-Jan-1997 Peter Wemm <peter@FreeBSD.org>

oops, missed a ${BINDIR} -> ${INFODIR}. Also remove the slash between
${DESTDIR}/${INFODIR}.


# a6e6861d 12-Jan-1997 Peter Wemm <peter@FreeBSD.org>

recover spammed revisions 1.20 and 1.21. This fixes the breaks in the
builds when INFO is commented out.

Pointed out by: bde


# 38a1b940 11-Jan-1997 Joshua Peck Macdonald <jmacd@FreeBSD.org>

In an attempt to make the new info rules bootstrap themselves, make
the rules conditional on NOINFO not being defined, just like NOMAN.


# 0d7f4014 10-Jan-1997 Joshua Peck Macdonald <jmacd@FreeBSD.org>

Change the installation rules. It now copies an empty dir file
into the DESTDIR in the beforeinstall rule in src/share/info/Makefile.
Then each info file that gets installed into the dir file using
install-info.

It has struck me that there's going to be a problem bootstrapping
this change, since parts of install will fail until install-info
is installed. Maybe someone who knows best how to deal with this can
fix it.


# f91ef3d0 05-Jan-1997 Andrey A. Chernov <ache@FreeBSD.org>

FIx typing error .SRCDIR -> SRCDIR
Submitted by: bde


# 8a1590b4 05-Jan-1997 Andrey A. Chernov <ache@FreeBSD.org>

Use SRCDIR to handle non-current directory docs
Use INFO* macros from bsd.own.mk


# 35732dda 03-Sep-1996 Bruce Evans <bde@FreeBSD.org>

BSD.usr.dist:
Added forgotten share/doc/psd/05.sysman and share/zoneinfo/America/Indiana.

bsd.doc.mk:
Nuked mkdir -p and wrong fixups of the leaf directory's ownerships and
permissions. The doc tree should be well enough established for this
to be safe. Installs to directories should use a trailing slash on
the directory name so installs to non-drectories are fatal, but I
didn't start changing them.

bsd.man.mk:
Nuked mkdir -p and wrong fixups of the leaf directory's ownerships and
permissions. They were overkill to create just /usr/share/info.

zoneinfo/Makefile:
No changes yet. zic creates directories with ordinary 755 permissions.
Why do we use 555 permissions for directories in /usr/share/zoninfo.
Why not for zoneinfo itself? /proc and /dev/fd are the only other
directories in the system with 555 permissions.


# cd9a2f5c 23-Jun-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src. This is the final version of the
patches, incorporating the feedback I've received from -current.


# c9a41a43 07-Mar-1996 Wolfram Schneider <wosch@FreeBSD.org>

[Ee]rrs -> Errs errs
save one process for make clean


# e2e7e704 08-Feb-1996 Mike Pritchard <mpp@FreeBSD.org>

Make sure that the --no-split flag gets passed to makeinfo.
Fixes PR # 1003 (gdb info files don't work).


# d760c58f 27-Jul-1995 Garrett Wollman <wollman@FreeBSD.org>

Use GZIPCMD to hold name of gzip command rather than just GZIP.

Submitted by: Torsten Blum


# 91abfd34 26-Jul-1995 Garrett Wollman <wollman@FreeBSD.org>

Compress `doc' and `info' documents before installing them.


# 812a1181 10-Mar-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Add protected and empty maninstall: targets.
Submitted by: Philippe Charnier <charnier@lirmm.fr>


# ffd87c07 25-Feb-1995 Poul-Henning Kamp <phk@FreeBSD.org>

"make distribute" have changed, beware if you use it.


# d80a0267 10-Feb-1995 Poul-Henning Kamp <phk@FreeBSD.org>

Make sure that info files never hit the "bin" dist.


# 5143382a 01-Feb-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Create an obj symlink when necessary.
Submitted by: "Remy CARD" <Remy.Card@masi.ibp.fr>


# 8d81c122 23-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Whomever put the depend rule in screwed it up. Fix it.


# d9584d76 14-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Change DISTRIBUTION names. Also make bsd.doc.mk go to doc distribution,
not bin. Hmmm.


# 533c1db8 12-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Whoops! Correct cut-and-paste gaffe.


# 161e6a3e 12-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Add an ID line at the top (this thing still needs some sort of
copyright, Andrew).
Add support for the distribute target.


# e9474ecf 07-Jan-1995 Andrey A. Chernov <ache@FreeBSD.org>

Use .MAIN: all


# 8558dc3f 04-Jan-1995 Andrey A. Chernov <ache@FreeBSD.org>

Fix BINMODE to override sys.mk defaults


# 4b99b575 04-Jan-1995 Andrey A. Chernov <ache@FreeBSD.org>

Fix building of target with multiply sources


# 0133d0c5 04-Jan-1995 Andrey A. Chernov <ache@FreeBSD.org>

Much improved variant


# 71e8daee 01-Jan-1995 Bruce Evans <bde@FreeBSD.org>

A generalized version of revision 1.1 of gnu/libnexex/uucp/doc/Makefile.
Fixes bugs in the latter: the `all' target was never up to date; there
was no `depend' target. Doesn't work for multiple info files because
it leverages bsd.doc.mk and that is broken. Info should be installed
more like man pages...