History log of /freebsd-9.3-release/share/mk/bsd.doc.mk
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

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

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 222647 03-Jun-2011 ru

Don't pass -o1- to groff(1) by default. If ms(7) formatted document
uses the .RP macro, a separate cover page is created as page 0 which
is not otherwise output. The bug was hiding by a hack in troffrc
that disables SGR support in grotty(1), which I'm going to remove now.
For POLA reasons, still disable SGR support in grotty(1), by passing
-P-c to groff(1). If we want SGR sequences in these documents, this
can be removed.

MFC after: 1 week


# 139106 21-Dec-2004 ru

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


# 106211 30-Oct-2002 ru

Document most of bsd.doc.mk variables.


# 106209 30-Oct-2002 ru

All uses of CD_HACK have been eliminated.


# 106151 29-Oct-2002 ru

PRINTERDEVICE can now take multiple values.


# 106143 29-Oct-2002 ru

bsd.doc.mk changes:

Don't gratuitously pipe thru a cat(1) if NODOCCOMPRESS.

Only create _stamp.extra when necessary.

Get rid of SOELIMPP and OBJS.

Use Groff version of soelim(1); we need its -I option
for the following to work.

Don't needlessly chdir to SRCDIR. Only a few documents
need CD_HACK, and those that need it either use refer(1)
or .PSPIC macro which internally uses the .psbb call.


# 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


# 99216 01-Jul-2002 ru

bsd.subdir.mk already has these dependencies coded.


# 95368 24-Apr-2002 ru

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


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


# 88052 17-Dec-2001 ru

Removed a no-op FILES from bsd.doc.mk.


# 74842 27-Mar-2001 ru

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


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


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


# 38014 02-Aug-1998 bde

Use a different hack in the ${DFILE} rule to keep indirect dependencies
(mostly for includes) separate from direct dependencies (so that ${.ALLSRC}
can be used to find full paths to the sources for the direct dependencies
only). The `::' hack just forgot the indirect dependendencies. This
broke building doc/usd/13.viref with `make -jN' - the index got corrupted
by being built twice concurrently.

Cleaned up the ${DFILE} rule. There was a .else clause with dead code in
it following a .else clause (make accepts this bad syntax). ${.ALLSRC}
now works in the USE_SOELIMPP case. Some client Makefiles no longer need
the SRCDIR=${.OBJDIR} hack.


# 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


# 33801 24-Feb-1998 bde

Don't add ${DOC}.ascii* to CLEANFILES twice.


# 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


# 30896 02-Nov-1997 wosch

Inlucde ../Makefile.inc if exists. This make it easier to
build the Unix Seventh Edition Manual volumes 2.


# 30888 01-Nov-1997 wosch

Undo rev 1.33 and 1.34: Build the HTML files in .CURDIR and
not in .OBJDIR so the hyper links will work again.


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


# 25710 11-May-1997 wosch

Add variable LPR for printer command.

Murphy's Law: define LPR=true in /etc/make.conf if you don't want
tomorrow find 3 paper copies (ascii, latin1, postscript) of the
handbook in your printer (or someone else printer on the other half of
the world).


# 24601 03-Apr-1997 mpp

Fix a typo that prevented the proper flag from being set
when USE_REFER is set.

Submitted by: Sandro Sigala <ssigala@globalnet.it>


# 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


# 23288 02-Mar-1997 wosch

Cosmetic change: remove a redundant ${.OBJDIR} in the html realinstall
target. The current dir is ${.OBJDIR} so ${.OBJDIR} shouldn't be in
the rule.

Pointed out by: bruce


# 23249 01-Mar-1997 wosch

Put html output into the obj directory and not into the source directory.


# 22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 22811 16-Feb-1997 wosch

Bugfixes for HTML output:
- use ${MACROS} for macro package and not hard-coded -ms
Note: -me is currently not supported by unroff(1).
- use only ${SRCS} as input files.


# 22621 13-Feb-1997 wosch

Support PRINTERDEVICE "html" using the troff translator unroff(1).
It works in most cases, but not all (e.g. nvi).


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


# 20811 22-Dec-1996 wosch

Do not use variable PRINTERDEVICE as printer name.


# 20697 19-Dec-1996 mpp

Change bsd.doc.mk to use the variable PRINTERDEVICE instead
of PRINTER for defining the default output device when formatting
documents for installation. This prevents problems if the
user has defined PRINTER for use by lpr.

Closes PR# 1437.


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


# 14444 09-Mar-1996 wosch

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


# 12526 29-Nov-1995 bde

Added a preprocessor for soelem. If if USE_SOELIMPP is defined, then
1. ${ROFF} is run in ${.OBJDIR}.
2. the preprocessor prefixes ${SRCDIR}/ to relative pathnames in `.so'
statements.
This is useful when running ${ROFF} in the source directory isn't
convenient.

Added dependencies on ${EXTRA} and ${OBJS}. These are usually for files
that are sourced indirectly. ${OBJS} is for files that are built.
4.4lite has decentalized incomplete dependencies on ${EXTRA} and ${DPADD}.
These were broken by are centralized handling of the roff targets.


# 11509 15-Oct-1995 jfieber

Change the default PRINTER from ps to ascii.


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


# 5700 17-Jan-1995 ache

Remove -Wall for ascii formatting, we don't need so many
warnings while formatting standard BSD docs


# 5698 17-Jan-1995 ache

Modify prev. change, pass internal args directly to groff,
if PRINTER == ascii, because nroff shell script strip off
some groff flags


# 5697 17-Jan-1995 ache

Call nroff, if PRINTER == ascii


# 5608 14-Jan-1995 jkh

The enclosed patch makes bsd.doc.mk consistent with bsd.prog.mk
when creating the obj link. While bsd.prog.mk inconditionnaly creates
a link in /usr/obj, bsd.doc.mk tests if the source tree is contained in
/usr/src. If so, it creates a link to /usr/obj. If the source tree
is contained in another directory, bsd.doc.mk creates an obj subdirectory.
Submitted by: Remy Card <Remy.Card@masi.ibp.fr>


# 5585 14-Jan-1995 jkh

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


# 5518 11-Jan-1995 wollman

Always delete ${DOC}.ps and ${DOC}.ascii in the clean target, no matter what
${PRINTER} is set to.


# 5487 11-Jan-1995 wollman

Add .MAIN: all so that extraneous targets don't confuse `make'.


# 5486 11-Jan-1995 wollman

Add standard before/real/afterinstall support like in bsd.prog.mk.


# 5485 11-Jan-1995 wollman

Fix last .endif.


# 5479 10-Jan-1995 wollman

Changes to make /usr/share/doc work somewhat right. (SMM commits
to follow soon.)


# 5388 04-Jan-1995 ache

Fix BINMODE to override sys.mk defaults


# 5381 04-Jan-1995 ache

Fix error in clean target


# 5257 28-Dec-1994 ache

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


# 4442 13-Nov-1994 phk

Add a new "distribute" target. This is a variant of install, which will
put the stuff into the right "distribution". As default things end up
in "bindist".

Normal (ie: most) makefiles know naught of this.

More commits will follow, which will direct various parts of the tree
into the distribution we want them in.

Some of the grief of being release-engineer is supposed to go away with this.


# 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