summaryrefslogtreecommitdiff
path: root/share/mk/bsd.man.mk
AgeCommit message (Collapse)Author
2017-07-21document that usage of .PHONY, since it's not exactly obvious.Marc Espie
okay schwarze@
2015-01-16Delete the MANLINT variable and the related SUFFIXES rules becauseIngo Schwarze
since yesterday, "mandoc -Tlint -Wfatal" can no longer fail. Instead, as suggested by deraadt@, provide a manlint target that is *not* run during make build, but can be run whenever you want to check syntax of manuals. "nice stuff" deraadt@
2014-03-08Keep the build log clean:Ingo Schwarze
Hide ugly shell constructs used for exit value handling. Issue reported and patch ok'ed by deraadt@.
2012-01-06Make mandoc show all warnings when WARNINGS=yes. Discussed with jmc@ andNicholas Marriott
schwarze@. ok schwarze deraadt
2011-07-06Make sure typing "make install" twice in a rowIngo Schwarze
installs manuals twice, not only the first time. Admittedly, marking real target files as .PHONY is ugly, but this is the least complex fix found so far. If somebody comes up with something better, i will gladly improve this. Problem originally reported and some prodding by deraadt@.
2011-07-06Make sure ${BEFOREMAN} is finished before ${MANLINT} is started;Ingo Schwarze
otherwise, stuff gets done in the wrong order in make -j. While here, also make sure ${BEFOREMAN} is finished before any manual source code is generated. tested in make build / make release by krw@
2011-07-05Allow parallel linting of manuals,Ingo Schwarze
by using one mandoc process and one timestamp file per man page. This might be slightly slower on single-processor machines, but it's considerably faster with make -j. "I think so" deraadt@
2011-06-28Less ugly MANSUBDIR handling, not needing '' any longer.Ingo Schwarze
ok espie@ Note: This does not yet fix the issue noted by deraadt@ that two consecutive make install invocations install only once. Both of my proposed solutions are not nice, and espie@ is searching for a cleaner way.
2011-06-24Replace the .PHONY manlint target by an empty timestamp file, so man pagesChristian Weisgerber
are only re-linted after an actual change. Tweaked from schwarze@'s diff; ok schwarze@
2011-06-23switch to installing source manuals (base part)Ingo Schwarze
discussed with lots of people, tested by naddy@, "move fast" deraadt@
2010-10-17Build tbl(1) pages with mandoc(1), not groff.Ingo Schwarze
Xenocara build checked myself, base build also by jmc@, thanks! "don't wait for me" deraadt@ Pages in base using tbl mostly look good already except for the rare .T{ macros; there may still be a few formatting issues in xenocara, please speak up when you run into them. Eventually, mandoc will catch up.
2010-09-09Use mandoc instead of groff to build PostScript manuals; note thatIngo Schwarze
these are not built by default, but only built when MANPS is set. kristaps@ and jmc@ agree with the idea, and the patch doesn't bother deraadt@ at all
2010-04-03Build all manual pages in base with mandoc(1) instead of groff,Ingo Schwarze
excepting the tbl(1) pages, which are less than twenty. "commit the diff that enables it, now" deraadt@
2007-11-03add a BEFOREMAN hook variable, for those programs that need something toMarc Espie
be done before they can build their manpages. `ah right' millert@
2004-02-083p suffix, formatting.Marc Espie
okay millert@ should have committed before the perl change, except I checked it thru a make build first, and then forgot to commit.
2003-08-18take PSDIR into account. Noticed by David KrauseMarc Espie
2003-08-07add possible call to a MANLINT script (defined to be # by default)Marc Espie
`sounds reasonable' millert@
2003-08-07Simplify install logic by using a shell fragment, and a new-fangled .forMarc Espie
loop. `sounds reasonable' millert@
2003-07-07for cleandir target, clean the postscript man page output even if MANPS isTheo de Raadt
not set
2001-07-20One BINDIR too many, I don't know how I pulled that one.Marc Espie
2001-07-20undo broken changes, i dunno a fix for these; how many times you gonna ↵Michael Shalayeff
repeat the same mistake espie@ and millert@ ?
2001-07-19Minor speed-up tweaks.Marc Espie
- use .for a b in new syntax for make to handle links. - kill mips - .include shlib_version, since its contents is happy as a Makefile fragment (avoids 10 shell escapes per lib directory, roughly) okay millert@
2000-11-10do not change NROFFTheo de Raadt
2000-11-10the new MANPS variable specifies that .ps versions of manual pages shouldTheo de Raadt
also be installed in /usr/share/man/ps[0-9]/ as *.ps files. No MLINKS are made for them.
2000-05-16Extend MANSUBDIR to be a possible list, use links so that this onlyMarc Espie
consumes inodes. Add / at start of MANSUBDIR entries automatically (see make(1) for :S), so that we can use list of machines automatically. millert@ ok.
1999-11-27Call nroff with the -Tascii option to keep groff from using -Tlatin1Todd C. Miller
which could result in it using 0xAD as a hyphenation character. This looks ok with less on an xterm but not on others, eg. the pcvt console. From NetBSD.
1999-05-02support *.3p (perl lib manuals); man.conf already supports thisTodd C. Miller
1997-04-27COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP changes.Todd C. Miller
For some reason the previous commit did not grab these.
1996-12-08install -> ${INSTALL}, -c -> ${COPY}Jason Downs
1996-10-01Automagically support building man pages with tbl(1).Jason Downs
foo.1 becomes foo.1tbl
1996-08-19Don't provide all/clean/etc if they don't 'em.Jason Downs
1996-08-19Don't redefine MANALLJason Downs
1996-03-26Revert last change which lost the functionality introduced in rev 1.4Niklas Hallqvist
1996-03-05Fix seemed to be a bug.Michael Shalayeff
1996-03-05Labeling style changed ($OpenBSD$).Michael Shalayeff
POSTINSTALL added to the <bsd.lkm.mk> (see bsd.README for details).
1996-02-25Added <bsd.lkm.mk> file. Correspondent changes made to the bsd.README.Michael Shalayeff
All the rest changed to be $OpenBSD$. Dedicated to Suzi Quatro (she must be alive still, so best wishes to here).
1996-02-22From NetBSD:Niklas Hallqvist
Allow override of nroff program, requested by Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp> in PR #1741. Use ksh-style substring parameter expansion expressions instead of calling expr when constructing manpage directory and file names. Much, much faster.
1996-01-15from betbsd:Theo de Raadt
Allow override of nroff program, requested by Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp> in PR #1741.
1995-12-19When doing Makefile.bsd-wrapper-style importing, it's nice to be ableNiklas Hallqvist
to specify the man-pages with a subdir-path prepended to them. This subdir component must be removed when installing.
1995-12-14update from netbsdTheo de Raadt
1995-11-13allow override of nroff command; from msaitoh@spa.is.uec.ac.jp, netbsd pr #1741Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt