History log of /freebsd-10.0-release/share/mk/bsd.info.mk
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 245752 21-Jan-2013 brooks

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


# 162793 29-Sep-2006 ru

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

Requested by: rwatson


# 156813 17-Mar-2006 ru

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)


# 152006 03-Nov-2005 ru

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.


# 142711 27-Feb-2005 obrien

style.Makefile(5): remove trailing spaces.


# 139761 06-Jan-2005 krion

Remove trailing spaces.


# 139106 21-Dec-2004 ru

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


# 125119 27-Jan-2004 ru

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.


# 115205 21-May-2003 ru

Fixed typo in a comment.

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


# 100872 29-Jul-2002 ru

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

Approved by: bde


# 99495 06-Jul-2002 ru

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).


# 95368 24-Apr-2002 ru

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


# 95327 23-Apr-2002 obrien

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


# 95306 23-Apr-2002 ru

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.)


# 94940 17-Apr-2002 ru

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.


# 92648 19-Mar-2002 bde

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).


# 74842 27-Mar-2001 ru

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


# 60597 15-May-2000 bde

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.


# 56537 24-Jan-2000 ru

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


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 43430 30-Jan-1999 bde

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.


# 42901 20-Jan-1999 ache

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


# 42886 20-Jan-1999 markm

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


# 42666 14-Jan-1999 markm

Option names have changes for texinfo-3.12


# 38183 08-Aug-1998 peter

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).


# 35789 06-May-1998 bde

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.


# 34528 12-Mar-1998 eivind

Introduce the 'regress' target.

Silently approved by: -hackers, -current


# 31994 25-Dec-1997 jkh

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


# 31782 16-Dec-1997 bde

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


# 31074 09-Nov-1997 wosch

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


# 30350 12-Oct-1997 wosch

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


# 30308 11-Oct-1997 wosch

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


# 30251 09-Oct-1997 wosch

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


# 30105 04-Oct-1997 wosch

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).


# 30046 01-Oct-1997 wosch

Support output formats dvi, ps, latin1.


# 26760 21-Jun-1997 jkh

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


# 25334 30-Apr-1997 jkh

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.


# 25315 30-Apr-1997 bde

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


# 25314 30-Apr-1997 bde

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.


# 24704 07-Apr-1997 bde

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.


# 24380 29-Mar-1997 peter

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


# 23763 12-Mar-1997 peter

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.


# 23762 12-Mar-1997 peter

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.


# 23546 08-Mar-1997 wosch

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


# 22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21680 14-Jan-1997 wosch

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


# 21673 14-Jan-1997 jkh

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.


# 21669 13-Jan-1997 jkh

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.


# 21612 12-Jan-1997 wosch

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


# 21593 12-Jan-1997 peter

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


# 21590 12-Jan-1997 peter

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


# 21588 12-Jan-1997 peter

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

Pointed out by: bde


# 21535 11-Jan-1997 jmacd

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


# 21502 11-Jan-1997 jmacd

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.


# 21355 06-Jan-1997 ache

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


# 21340 05-Jan-1997 ache

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


# 18022 03-Sep-1996 bde

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.


# 16663 24-Jun-1996 jkh

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.


# 14410 07-Mar-1996 wosch

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


# 13973 08-Feb-1996 mpp

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


# 9734 27-Jul-1995 wollman

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

Submitted by: Torsten Blum


# 9725 26-Jul-1995 wollman

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


# 6985 10-Mar-1995 rgrimes

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


# 6716 25-Feb-1995 phk

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


# 6309 11-Feb-1995 phk

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


# 6117 02-Feb-1995 jkh

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


# 5813 23-Jan-1995 jkh

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


# 5585 14-Jan-1995 jkh

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


# 5532 12-Jan-1995 jkh

Whoops! Correct cut-and-paste gaffe.


# 5531 12-Jan-1995 jkh

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


# 5429 07-Jan-1995 ache

Use .MAIN: all


# 5388 04-Jan-1995 ache

Fix BINMODE to override sys.mk defaults


# 5382 04-Jan-1995 ache

Fix building of target with multiply sources


# 5380 04-Jan-1995 ache

Much improved variant


# 5345 02-Jan-1995 bde

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...