summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.man.mk
Commit message (Collapse)AuthorAgeFilesLines
* Revert last delta. SGR support in grotty(1) is disabled system-wideru2002-10-181-1/+1
| | | | in /usr/share/tmac/troffrc pending the issue resolution on -arch.
* Groff 1.18.1 comes in with ANSI color support, enabled by default.ru2002-10-111-1/+1
| | | | | | | | | | | | | | 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).
* Allow one to override ${MINSTALL} in /etc/make.conf.ru2002-08-201-1/+1
| | | | Prompted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-291-1/+1
| | | | | | for a long time now. Approved by: bde
* Ensure manpages are built with the all-man in theru2002-05-131-0/+2
| | | | | | | NOMANCOMPRESS && !MANFILTER && !MANBUILDCAT case. PR: bin/37360 Prodded by: cjc
* Added internal, non-recursive (SUBDIR) versions of the `all-man'ru2002-05-071-8/+10
| | | | | | | | 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
* Merge bsd.obj.mk's version of the _SUBDIR target with bsd.subdir.mk.ru2002-04-231-1/+1
| | | | | | | | | | | | | | | | 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.)
* Don't include bsd.own.mk from sys.mk, this makes it impossibleru2002-04-171-0/+4
| | | | | | | | | | | | | | | | | | | | | 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.
* Revert to the ordinary `:' dependency operator for `mainstall'.ru2002-04-171-2/+2
| | | | | | | Revision 1.7 had "maninstall::" inside a loop. Revision 1.36 unrolled the loop. Reviewed by: bde
* Fix all-man to look into the SUBDIR subdirs as well.ru2002-04-151-1/+1
|
* There is a better way to suppress groff(1) output.ru2001-09-051-2/+2
| | | | Submitted by: okazaki
* Implement the `manlint' target, for minimal validity checking ofru2001-09-051-0/+13
| | | | | | the manual pages. Mostly useful with mdoc(7) formatted manuals. Requested by: murray
* Always preprocess manpages with tbl(1).ru2001-07-121-1/+1
|
* Do not clobber COPY, it may be set differently in /etc/make.conf.ru2001-05-301-2/+0
| | | | | This is not the problem for NOMANCOMPRESS, as install(1) does not delete the originals anymore (-c is the default now).
* Add missing -mtty-char for MANBUILDCAT.ru2001-04-181-1/+1
|
* - Removed `n' from the list of manpage sections.ru2001-03-281-5/+5
| | | | | - Only support the old syntax for manpage declarations (MAN1...MAN9) if no MAN is defined.
* Removed _MANPAGES, MANDEPEND and MANSRC.ru2001-03-261-44/+41
| | | | | | | Added MAN which will eventually replace MAN[0-9] and MAN1aout. For now, the old syntax is still supported. Reviewed by: bde
* Make ``groff -man'' work again for both man(7) and mdoc(7) manpages.ru2001-02-231-1/+1
| | | | | | The new Groff release will support this feature. Requested by: peter
* Install the stock (as supplied by groff(1) distribution) tmac.anru2000-12-061-1/+1
| | | | | and tmac.andoc files. The man(1), catman(1) and bsd.man.mk have been modified to call groff(1) with -mandoc argument.
* groff does not use MANDEPEND anymore.ru2000-12-051-1/+1
|
* Typo in comments explaining what MAN_FILTER is.hoek2000-05-211-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Backed out rev.1.28. It was bogus because bsd.man.mk is only usedbde1998-09-091-8/+1
| | | | | (and only usable) by other .mk files that have their own multiple inclusion protection.
* Add a man section 1aout for the legacy man files to avoid them beingjb1998-09-071-2/+2
| | | | installed over the ones from binutils.
* Make ../Makefile.inc handling more consistant to prevent multiple includespeter1998-08-081-1/+8
| | | | | | 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).
* Don't include ../Makefile.inc here. bsd.man.mk is always includedbde1998-04-271-6/+1
| | | | | in another .mk file which has already included ../Makefile.inc, so including ../Makefike.inc again mainly messed up `+=' definitions.
* Remove the comments hat just list the nested includes.wosch1997-11-091-3/+2
| | | | | | The lists don't provide significantly more information than grep '\.include', and grep gives lists that are actually correct. Submitted by: Bruce
* Don't use !empty() on the potentially unset variable MANBUILDCAT. Usingbde1997-07-251-8/+8
| | | | it broke "everything" unless MANBUILDCAT was set.
* Removed a stray `.if' that broke everything.bde1997-07-251-2/+1
|
* Allow optional building of preformatted manual pages.pst1997-07-241-2/+80
| | | | Reviewed by: wosch
* Updated comment about MANDEPEND (it was misplaced in bsd.prog.mk).bde1997-04-191-1/+3
|
* Add new variables COMPRESS_CMD and COMPRESS_EXT.wosch1997-03-081-12/+12
| | | | | | | | | | 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
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Remove unsupported man section 3fwosch1997-02-161-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* add new variable NOMLINKSwosch1996-12-261-2/+4
| | | | NOMLINKS If you do not want install manual page links. [not set]
* Workaround to (hopefully) fix the NOMANCOMPRESS case of the MANFILTER-usingpeter1996-09-161-3/+18
| | | | | | | | | | | | | 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
* Use MANFILTER everywhere instead of a couple of MANFILT typos..peter1996-08-261-4/+4
|
* Add a hook ``MANFILTER''. This optionally specifies a command topeter1996-08-111-1/+22
| | | | | | | | 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.
* Add man-page section 'n' and LIBTCL macro.phk1996-06-221-2/+2
|
* Add some comments for variables and targets.wosch1996-05-251-1/+46
|
* speedup MLINKSwosch1996-05-251-14/+12
|
* Add variable ``_MANPAGES'' This will be replace thewosch1996-04-091-1/+3
| | | | | .if !defined(MAN1) && !defined(MAN2) ... orgy in bsd.prog.mk and bsd.kmod.mk
* delete MANGRP?=, MANOWN?=, MANMODE?=, MANDIR?=wosch1996-03-241-6/+1
|
* Added `9' to ${SECTIONS}.bde1995-12-141-2/+2
|
* Fix maninstall target for the NOMANCOMPRESS case. The previous revisionbde1995-10-211-6/+13
| | | | | | | | | | | | | 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.
* Fix the support for MANSRC (it was broken by the compression changes):bde1995-10-141-54/+33
| | | | | | | | | | | 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.
* Compress manual pages (if desired) in the obj directory ratherwollman1995-10-021-57/+53
| | | | | | than in the installation destination. Should make release-building substantially faster. The msun Makefile changes simple adapt to the new scheme.
* Move INSTALL?=install line duplicated into each .mk to sys.mkache1994-12-281-2/+1
| | | | instead
* Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.bde1994-08-281-3/+3
|
OpenPOWER on IntegriCloud