History log of /freebsd-10.1-release/share/mk/bsd.man.mk
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

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


# 245515 16-Jan-2013 brooks

Remove support for installing 1aout section manpages.


# 167486 12-Mar-2007 ru

Stop clobberring the application namespace with local
variables such as "sect", "page", and "target"; use
underscored versions instead.

Discussed with: kan
MFC after: 3 days


# 139761 06-Jan-2005 krion

Remove trailing spaces.


# 139109 21-Dec-2004 ru

NOMLINKS -> NO_MLINKS


# 139103 21-Dec-2004 ru

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


# 119838 07-Sep-2003 ru

Implement sed(1) commands using the make(1)'s RE variable modifier.
(This almost eliminates the need of a sed(1) during installworld.)


# 105388 18-Oct-2002 ru

Revert last delta. SGR support in grotty(1) is disabled system-wide
in /usr/share/tmac/troffrc pending the issue resolution on -arch.


# 104874 11-Oct-2002 ru

Groff 1.18.1 comes in with ANSI color support, enabled by default.
In "nroff" mode, italic font renders as an underlined text, which
makes it indistinguishable from the bold text on color monitors
(cons25 terminal type), yet it requires the less(1)'s -R option.
(Refer to the new grotty(1) manpage for details.)

So turn off the color support for now (when generating catpages),
until we figure out what do we do with this new feature. I have
a patch for grotty(1) that tells it to use the "reverse video"
attribute to render the italic font. Once this is accepted, we
can turn color support back on (if there won't be any objections
from the community).


# 102173 20-Aug-2002 ru

Allow one to override ${MINSTALL} in /etc/make.conf.

Prompted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>


# 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


# 96524 13-May-2002 ru

Ensure manpages are built with the all-man in the
NOMANCOMPRESS && !MANFILTER && !MANBUILDCAT case.

PR: bin/37360
Prodded by: cjc


# 96164 07-May-2002 ru

Added internal, non-recursive (SUBDIR) versions of the `all-man'
and `maninstall' targets. This fixes the issue where each subdir
was descended into twice during "make all", and also resurrects
the standardization of `maninstall'.

Urged by: bde


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


# 94924 17-Apr-2002 ru

Revert to the ordinary `:' dependency operator for `mainstall'.
Revision 1.7 had "maninstall::" inside a loop. Revision 1.36
unrolled the loop.

Reviewed by: bde


# 94747 15-Apr-2002 ru

Fix all-man to look into the SUBDIR subdirs as well.


# 83080 05-Sep-2001 ru

There is a better way to suppress groff(1) output.

Submitted by: okazaki


# 83075 05-Sep-2001 ru

Implement the `manlint' target, for minimal validity checking of
the manual pages. Mostly useful with mdoc(7) formatted manuals.

Requested by: murray


# 79613 12-Jul-2001 ru

Always preprocess manpages with tbl(1).


# 77470 30-May-2001 ru

Do not clobber COPY, it may be set differently in /etc/make.conf.

This is not the problem for NOMANCOMPRESS, as install(1) does not
delete the originals anymore (-c is the default now).


# 75655 18-Apr-2001 ru

Add missing -mtty-char for MANBUILDCAT.


# 74939 28-Mar-2001 ru

- Removed `n' from the list of manpage sections.

- Only support the old syntax for manpage declarations
(MAN1...MAN9) if no MAN is defined.


# 74806 26-Mar-2001 ru

Removed _MANPAGES, MANDEPEND and MANSRC.

Added MAN which will eventually replace MAN[0-9] and MAN1aout.
For now, the old syntax is still supported.

Reviewed by: bde


# 72942 23-Feb-2001 ru

Make ``groff -man'' work again for both man(7) and mdoc(7) manpages.
The new Groff release will support this feature.

Requested by: peter


# 69679 06-Dec-2000 ru

Install the stock (as supplied by groff(1) distribution) tmac.an
and tmac.andoc files. The man(1), catman(1) and bsd.man.mk have
been modified to call groff(1) with -mandoc argument.


# 69634 05-Dec-2000 ru

groff does not use MANDEPEND anymore.


# 60749 21-May-2000 hoek

Typo in comments explaining what MAN_FILTER is.


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 38987 09-Sep-1998 bde

Backed out rev.1.28. It was bogus because bsd.man.mk is only used
(and only usable) by other .mk files that have their own multiple
inclusion protection.


# 38898 07-Sep-1998 jb

Add a man section 1aout for the legacy man files to avoid them being
installed over the ones from binutils.


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


# 35478 27-Apr-1998 bde

Don't include ../Makefile.inc here. bsd.man.mk is always included
in another .mk file which has already included ../Makefile.inc, so
including ../Makefike.inc again mainly messed up `+=' definitions.


# 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


# 27673 25-Jul-1997 bde

Don't use !empty() on the potentially unset variable MANBUILDCAT. Using
it broke "everything" unless MANBUILDCAT was set.


# 27672 25-Jul-1997 bde

Removed a stray `.if' that broke everything.


# 27659 24-Jul-1997 pst

Allow optional building of preformatted manual pages.
Reviewed by: wosch


# 25027 19-Apr-1997 bde

Updated comment about MANDEPEND (it was misplaced in bsd.prog.mk).


# 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$


# 22789 16-Feb-1997 wosch

Remove unsupported man section 3f


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


# 20935 26-Dec-1996 wosch

add new variable NOMLINKS
NOMLINKS If you do not want install manual page links. [not set]


# 18314 16-Sep-1996 peter

Workaround to (hopefully) fix the NOMANCOMPRESS case of the MANFILTER-using
man pages (eg: named/bind/etc). In order to get (say) dig.1 to pass
through the filter and produce a new dig.1 for installing, I used an
intermediate file at build time, similar to the way the .gz man pages are
built.

I've not extensively tested this, but it seems to work for the known
cases where it was failing, and it only affects the NOMANCOMPRESS case
which was already broken.

Pointed out by: "Ph. Charnier" <charnier@xp11.frmug.org>, PR#1612


# 17831 26-Aug-1996 peter

Use MANFILTER everywhere instead of a couple of MANFILT typos..


# 17511 11-Aug-1996 peter

Add a hook ``MANFILTER''. This optionally specifies a command to
pipe the man page source through before compressing or installing.
This can be used to do do (eg) sed substitution on man pages from
3rd party packages (in particular, ncurses and bind-4.9.4)

This should not affect anything already in the source tree.


# 16581 22-Jun-1996 phk

Add man-page section 'n' and LIBTCL macro.


# 15903 25-May-1996 wosch

Add some comments for variables and targets.


# 15902 25-May-1996 wosch

speedup MLINKS


# 15168 09-Apr-1996 wosch

Add variable ``_MANPAGES'' This will be replace the
.if !defined(MAN1) && !defined(MAN2) ... orgy in bsd.prog.mk and
bsd.kmod.mk


# 14778 23-Mar-1996 wosch

delete MANGRP?=, MANOWN?=, MANMODE?=, MANDIR?=


# 12828 14-Dec-1995 bde

Added `9' to ${SECTIONS}.


# 11623 21-Oct-1995 bde

Fix maninstall target for the NOMANCOMPRESS case. The previous revision
failed when there was an obj directory. Use .PATH.n for installing too
so that make can find the source files. This allows the source files to
be in several directories (the old method using cd only works well for
a single directory). The dependencies are on the source files even for
the compressed case, although it would be more flexible to depend on the
files being installed, so that `make install' doesn't attempt to build
things

Force COPY to -c for the NOMANCOMPRESS case. Then the files to be installed
are always sources, so they must not be moved.


# 11468 14-Oct-1995 bde

Fix the support for MANSRC (it was broken by the compression changes):
use .PATH.n to get the dependencies right and to avoid some shell tests.

Remove bogus dependency of individual compressed man pages on MANDEPEND.

Use for loops to avoid duplicated code.

Combine some rm steps in installation of links. Linking still takes too
long.


# 11136 02-Oct-1995 wollman

Compress manual pages (if desired) in the obj directory rather
than in the installation destination. Should make release-building
substantially faster. The msun Makefile changes simple adapt to the new
scheme.


# 5257 28-Dec-1994 ache

Move INSTALL?=install line duplicated into each .mk to sys.mk
instead


# 2353 28-Aug-1994 bde

Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.


# 1844 04-Aug-1994 wollman

Spplat our 1.1.5 `mk' ifiles over the top of the 4.4 ones. So far
as I can tell, this is ts the right thing to do.


# 1639 30-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1638,
which included commits to RCS files with non-trunk default branches.


# 1638 30-May-1994 rgrimes

BSD 4.4 Lite Share Sources