summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.doc.mk
Commit message (Collapse)AuthorAgeFilesLines
* Don't pass -o1- to groff(1) by default. If ms(7) formatted documentru2011-06-031-4/+2
| | | | | | | | | | | 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
* NODOCCOMPRESS -> NO_DOCCOMPRESSru2004-12-211-4/+4
| | | | | | | | NOINFO -> NO_INFO NOINFOCOMPRESS -> NO_INFOCOMPRESS NOLINT -> NO_LINT NOPIC -> NO_PIC NOPROFILE -> NO_PROFILE
* Document most of bsd.doc.mk variables.ru2002-10-301-4/+33
|
* All uses of CD_HACK have been eliminated.ru2002-10-301-9/+0
|
* PRINTERDEVICE can now take multiple values.ru2002-10-291-33/+64
|
* bsd.doc.mk changes:ru2002-10-291-29/+33
| | | | | | | | | | | | | | | 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.
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-291-2/+2
| | | | | | for a long time now. Approved by: bde
* bsd.subdir.mk already has these dependencies coded.ru2002-07-011-11/+0
|
* Abuse bsd.obj.mk for defining default distribute target.ru2002-04-241-8/+2
|
* Merge bsd.obj.mk's version of the _SUBDIR target with bsd.subdir.mk.ru2002-04-231-12/+0
| | | | | | | | | | | | | | | | 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-7/+1
| | | | | | | | | | | | | | | | | | | | | 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.
* Removed a no-op FILES from bsd.doc.mk.ru2001-12-171-1/+0
|
* Make it possible to build manpages for the entire source tree.ru2001-03-271-0/+4
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Make ../Makefile.inc handling more consistant to prevent multiple includespeter1998-08-081-1/+4
| | | | | | 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).
* Use a different hack in the ${DFILE} rule to keep indirect dependenciesbde1998-08-021-18/+11
| | | | | | | | | | | | | (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.
* Only include bsd.dep.mk in `mk'files that handle C sources. Abusebde1998-05-061-6/+1
| | | | | | 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.
* Introduce the 'regress' target.eivind1998-03-121-1/+5
| | | | Silently approved by: -hackers, -current
* Don't add ${DOC}.ascii* to CLEANFILES twice.bde1998-02-251-5/+5
|
* Remove the comments hat just list the nested includes.wosch1997-11-091-2/+1
| | | | | | The lists don't provide significantly more information than grep '\.include', and grep gives lists that are actually correct. Submitted by: Bruce
* Inlucde ../Makefile.inc if exists. This make it easier towosch1997-11-021-1/+5
| | | | build the Unix Seventh Edition Manual volumes 2.
* Undo rev 1.33 and 1.34: Build the HTML files in .CURDIR andwosch1997-11-011-3/+4
| | | | not in .OBJDIR so the hyper links will work again.
* Change the distribute targets so that a given item in our source treejkh1997-06-211-2/+4
| | | | can place itself into n distributions, where n >= 1.
* Add variable LPR for printer command.wosch1997-05-111-3/+18
| | | | | | | 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).
* Fix a typo that prevented the proper flag from being setmpp1997-04-041-2/+2
| | | | | | when USE_REFER is set. Submitted by: Sandro Sigala <ssigala@globalnet.it>
* Add new variables COMPRESS_CMD and COMPRESS_EXT.wosch1997-03-081-11/+13
| | | | | | | | | | 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
* Cosmetic change: remove a redundant ${.OBJDIR} in the html realinstallwosch1997-03-021-2/+2
| | | | | | | target. The current dir is ${.OBJDIR} so ${.OBJDIR} shouldn't be in the rule. Pointed out by: bruce
* Put html output into the obj directory and not into the source directory.wosch1997-03-021-5/+4
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Bugfixes for HTML output:wosch1997-02-161-2/+3
| | | | | | - 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.
* Support PRINTERDEVICE "html" using the troff translator unroff(1).wosch1997-02-131-4/+25
| | | | It works in most cases, but not all (e.g. nvi).
* 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.
* Do not use variable PRINTERDEVICE as printer name.wosch1996-12-221-3/+3
|
* Change bsd.doc.mk to use the variable PRINTERDEVICE insteadmpp1996-12-191-12/+12
| | | | | | | | 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.
* BSD.usr.dist:bde1996-09-031-9/+1
| | | | | | | | | | | | | | | | | | | | | 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.
* Bring in my changes for removing the pestilent obj links (unless youjkh1996-06-241-22/+4
| | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
* [Ee]rrs -> Errs errs, save one process for make cleanwosch1996-03-091-2/+2
|
* Added a preprocessor for soelem. If if USE_SOELIMPP is defined, thenbde1995-11-291-2/+14
| | | | | | | | | | | | | 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.
* Change the default PRINTER from ps to ascii.jfieber1995-10-151-2/+2
|
* Use GZIPCMD to hold name of gzip command rather than just GZIP.wollman1995-07-271-6/+6
| | | | Submitted by: Torsten Blum
* Compress `doc' and `info' documents before installing them.wollman1995-07-261-13/+26
|
* Add protected and empty maninstall: targets.rgrimes1995-03-101-1/+5
| | | | Submitted by: Philippe Charnier <charnier@lirmm.fr>
* "make distribute" have changed, beware if you use it.phk1995-02-251-2/+2
|
* Remove -Wall for ascii formatting, we don't need so manyache1995-01-171-2/+2
| | | | warnings while formatting standard BSD docs
* Modify prev. change, pass internal args directly to groff,ache1995-01-171-2/+2
| | | | | if PRINTER == ascii, because nroff shell script strip off some groff flags
* Call nroff, if PRINTER == asciiache1995-01-171-1/+5
|
* The enclosed patch makes bsd.doc.mk consistent with bsd.prog.mkjkh1995-01-141-17/+7
| | | | | | | | 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>
* Change DISTRIBUTION names. Also make bsd.doc.mk go to doc distribution,jkh1995-01-141-2/+2
| | | | not bin. Hmmm.
* Always delete ${DOC}.ps and ${DOC}.ascii in the clean target, no matter whatwollman1995-01-111-2/+3
| | | | ${PRINTER} is set to.
* Add .MAIN: all so that extraneous targets don't confuse `make'.wollman1995-01-111-1/+2
|
OpenPOWER on IntegriCloud