Commit Graph

241 Commits

Author SHA1 Message Date
Ruslan Ermilov
1623181388 We have at least one consumer of the upcoming FreeBSD 4.9. 2003-06-02 18:43:15 +00:00
Ruslan Ermilov
a2211ce1e0 Fix build on 4.x. 2003-05-02 11:56:43 +00:00
Ruslan Ermilov
7a547773ab Re-enable building of Groff documentation; texinfo has just been
upgraded to version 4.5.
2003-05-02 00:55:52 +00:00
Ruslan Ermilov
80da55ea72 Upgrade to Groff 1.19. 2003-05-01 13:22:21 +00:00
Ruslan Ermilov
e3519f9e1c Replace beforeinstall: with plain FILES. 2003-04-30 20:48:03 +00:00
Ruslan Ermilov
e50f318170 Recognize FreeBSD 5.1; libc_gen/signbit.3 has set the precedent. 2003-02-14 16:01:58 +00:00
Ruslan Ermilov
6a5c53e7a2 Moved the libugidfw library definition out from contributed source
to where it actually belongs.

Submitted by:	phantom
2003-02-14 13:36:16 +00:00
Alexey Zelkin
09ffd02a1b FreeBSD 5.x does not provide libskey anymore, remove reference 2003-02-13 18:23:13 +00:00
Alexey Zelkin
d1ada631c0 Add 'libgeom' to list of valid .Lb arguments 2003-02-13 18:21:32 +00:00
Ruslan Ermilov
b382ba4fb1 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.
2002-10-29 14:56:09 +00:00
Ruslan Ermilov
cace479bdf A version of SGR disabling stuff that is believed to be safe.
Submitted by:	Werner LEMBERG <wl@gnu.org>
2002-10-24 11:05:58 +00:00
Andrew Gallatin
c3ff11578e Remove the hack to build groff statically on alpha, now that the rtld
has been extended to grok binaries with only one PLT_LOAD segment

An UPDATING entry about this is pending review..

Approved by: ru
2002-10-23 21:28:52 +00:00
Ruslan Ermilov
dff088c507 A crude temporary hack to fix building of ms(7) formatted documents
while I am working on a real fix.
2002-10-23 19:04:00 +00:00
David E. O'Brien
40145a58da Make static in our normal manner.
Submitted by:	bde
2002-10-21 03:21:50 +00:00
David E. O'Brien
46b2d791da Unbreak Alpha world.
We are seeing "/usr/libexec/ld-elf.so.1: groff: too few PT_LOAD segments",
however it appears that there really is only one PT_LOAD segment in the groff
binary.  It is unclear if `rtld' or `ld' is at fault here -- but using an
RELENG_4 `ld' binary allows one to build a working dynamic groff binary.

Submitted by:	gallatin
2002-10-21 00:26:48 +00:00
Ruslan Ermilov
8b92be43b2 Oops, missed that in rev. 1.35.
Spotted by:	make release
2002-10-13 12:22:57 +00:00
Ruslan Ermilov
76930810ca Support FreeBSD versions starting from 4.0-RELEASE.
Reminded by:	imp
2002-10-13 08:36:16 +00:00
Ruslan Ermilov
97b4cb62c3 New Russian hyphenation patterns from the teTeX distribution.
Use the new .hpfa request to append them to English patterns.
2002-10-11 12:20:02 +00:00
Ruslan Ermilov
df8924461f Russian hyphenation patterns from teTeX. 2002-10-11 12:13:17 +00:00
Ruslan Ermilov
72566b4251 koi8-r was repo-copied to ru.KOI8-R by joe@. 2002-10-11 11:00:51 +00:00
Ruslan Ermilov
3e74a63cf8 Upgrade to Groff 1.18.1. 2002-10-11 08:58:14 +00:00
Ruslan Ermilov
167e93a527 Print the OS name in the right place in the document title. 2002-10-09 08:51:52 +00:00
Ruslan Ermilov
b660485bd4 Pass our idea of a manpage's locale from man(1) down to mdoc(7). 2002-09-30 11:00:04 +00:00
Ruslan Ermilov
e71a9915fe French -mdoc localization.
Submitted by:	gioria
Reviewed by:	blackend, ru
2002-09-30 08:06:11 +00:00
Ruslan Ermilov
40e12cde85 libusb -> libusbhid did not reach here. 2002-09-30 07:54:49 +00:00
Ruslan Ermilov
d91366cee0 FreeBSD 4.6, 4.6.2, 4.7 and 4.8 are now officially supported in -mdoc. 2002-09-30 07:51:46 +00:00
Ruslan Ermilov
0f90a39a29 Removed the (never-released) FreeBSD 4.6.1.
Inspired by:	bmah's commit to www/en/releases/4.6.1R
2002-08-14 16:57:14 +00:00
Murray Stokely
13a705e1d1 Add definition for FreeBSD 4.6.2. 2002-08-14 06:32:17 +00:00
Ruslan Ermilov
e2f55267f6 Added Russian translation of the .Ex -std macro.
MFC after:	3 days
2002-08-07 17:47:24 +00:00
Ruslan Ermilov
d2893b161b Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
Ruslan Ermilov
0b87f79976 s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
Ruslan Ermilov
7ec8076057 Move the definition of FreeBSD 4.6 back to where it belongs. 2002-07-18 09:32:15 +00:00
Murray Stokely
bd54a06d45 Add definition for FreeBSD 4.6.1. 2002-07-18 09:22:33 +00:00
Doug Barton
480ffa338a Teach mdoc about the 4.6 release 2002-06-18 00:41:47 +00:00
Ruslan Ermilov
801a888ee3 Do not overwrite mm locale files. 2002-06-03 15:12:42 +00:00
Ruslan Ermilov
46f8fdc34e Removed now unused INTERNALSTATICLIB.
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
2002-05-13 11:09:07 +00:00
Ruslan Ermilov
5786a9cf4a Revert the last change and mark the program as PROG_CXX. 2002-04-11 11:06:06 +00:00
Ruslan Ermilov
c573632aed Use the new PROG_CXX knob. 2002-04-11 11:02:41 +00:00
Ruslan Ermilov
ebf3e7c205 Add .Fx entries for upcoming 4.6 and forthcoming 4.7.
Requested by:	asmodai
2002-04-08 11:20:50 +00:00
Peter Wemm
fffa0325f7 Add -lstdc++ to the link args for these C++ tools so that they can be
compiled with gcc-3.1.  Somebody thought it was a good idea to move
the implementation of new and delete from libgcc to libstdc++.  This
change doesn't harm the current compiler in the tree.
2002-04-07 02:40:55 +00:00
Josef Karthauser
7b8cfc5217 Install libusbhid, and use it instead of libusb.
MFC after:	6 days
2002-03-28 18:44:25 +00:00
Ruslan Ermilov
20cea81ba1 The -pthread -> -lc_r change didn't reach here. 2002-01-11 11:42:16 +00:00
Ruslan Ermilov
438b157a57 Forgot to commit these two files for the recent .Dt change. 2002-01-11 11:30:14 +00:00
Ruslan Ermilov
ec60ea2faa MFV: FreeBSD 4.4, FreeBSD 4.5, NetBSD 1.6, POSIX.1-2001. 2001-12-24 08:59:48 +00:00
Ruslan Ermilov
a7aaf57e4a FILES support for bsd.prog.mk. See bsd.README for details.
Stolen from:	NetBSD
2001-12-17 13:59:35 +00:00
Ruslan Ermilov
00e43343a6 Add .Lb entry for -lpam. 2001-12-17 12:12:17 +00:00
Ruslan Ermilov
d49fa169c0 December 6th -- the IEEE Standards Board approves the Austin Group
Specification as IEEE Std 1003.1-2001.  Yay!
2001-12-08 19:02:36 +00:00
Ruslan Ermilov
95693bfc00 Add .Lb entry for -lpam.
Requested by:	des
2001-11-27 15:08:42 +00:00
Ruslan Ermilov
ead097220a There are users of FreeBSD 4.5 already. 2001-10-26 17:01:15 +00:00
Ruslan Ermilov
b100cf6afb The .Rv macro support zero and more than one arguments. 2001-08-15 08:25:55 +00:00
Ruslan Ermilov
83f96682da Add $FreeBSD$ CVS tag. 2001-07-10 17:23:07 +00:00
Ruslan Ermilov
edfa7141c3 Upgrade to Groff 1.17.2. 2001-07-10 17:15:52 +00:00
Ruslan Ermilov
f7183e4133 `\<space>' (unpaddable space) does not work in groff_font(5) files,
it is taken as a single escape (`\') character.  This prevented \e
from being output correctly in -Tkoi8-r case.

Noticed by:	Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
2001-05-28 07:17:58 +00:00
Ruslan Ermilov
dbeed1466f Add support for FreeBSD 4.4. 2001-05-15 17:04:26 +00:00
Ruslan Ermilov
e4b486696e Only load KOI8-R-specific bits if document language is set
via the \*[lang] register, not if just device is `koi8-r'.

Reviewed by:	ache
2001-05-07 16:04:49 +00:00
Ruslan Ermilov
e1e4574b19 -lposix1e is dead. 2001-04-26 13:33:00 +00:00
Ruslan Ermilov
67dd89f344 Backout rev.1.30, as the root of this problem was already fixed
in bsd.obj.mk rev.1.35, and

On Tue, Apr 24, 2001 at 06:29:27AM +1000, Bruce Evans wrote:
>
> This is bogus.  It is normal for sloppy cleaning to cause problems.
> `make depend' after `make depend' should not do anything.  I'm still
> waiting for a similar problem in kdump to be fixed properly :-).
2001-04-25 15:10:36 +00:00
Ruslan Ermilov
60f6f55742 If the world was built using either -DNOCLEAN or -DNOCLEANDIR, it was
possible to use old generated doc-* files as the source for new ones.
Wrong -mdoc files would then be installed, and man(1) failed with the
following diagnostics:

mdoc error: end-macro (.em) respecification is not allowed. (#41)
            Should this have been `.Em ...'?

Put helper stuff into `beforedepend' to cleanup old files.

Makefile first infected in rev 1.15.

Reported via:	-current
2001-04-23 13:27:35 +00:00
Ruslan Ermilov
471eab0d41 This is not a problem but a feature of PMake.
Pointed out by:	bde
2001-04-23 08:48:42 +00:00
Ruslan Ermilov
bf30c5b32b Add .Lb entry for -ldevinfo. 2001-04-23 07:40:29 +00:00
Ruslan Ermilov
9ba4bc8ede Work around the problem in multi-job make(1).
(Fixes ``make -jN buildworld'' breakage in bootstrap-tools.)

Reported by:	Steve Kargl <sgk@troutmask.apl.washington.edu>
2001-04-19 09:10:53 +00:00
Ruslan Ermilov
5c76ec115f Synch with devascii/R.proto, RFC 1489, and groff_char(7). 2001-04-18 09:22:51 +00:00
Ruslan Ermilov
cf3e3228a4 Upgrade to Groff 1.17. 2001-04-17 12:37:18 +00:00
Ruslan Ermilov
a8209d83f8 psroff(1) has never been a part of Groff. 2001-04-10 17:04:31 +00:00
Ruslan Ermilov
b9ad8c8635 beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
Ruslan Ermilov
9b6def1673 Backout rev 2.3 (-fno-for-scope); problem fixed in Groff 1.12. 2001-03-30 13:40:51 +00:00
Ruslan Ermilov
e5ac5644e2 MAN[1-9] -> MAN. 2001-03-27 14:59:06 +00:00
Ruslan Ermilov
0414fc4dd0 Don't use MANDEPEND and MANSRC. 2001-03-26 07:28:26 +00:00
Ruslan Ermilov
0a3a912634 Make ``groff -man'' work again for both man(7) and mdoc(7) manpages.
The new Groff release will support this feature.

Requested by:	peter
2001-02-23 09:35:33 +00:00
Ruslan Ermilov
4c5804ea54 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.
2000-12-06 17:02:33 +00:00
Ruslan Ermilov
d6d2925b93 Build and install groff(1) texinfo(1) documentation. 2000-12-06 12:17:01 +00:00
Ruslan Ermilov
8124b9de5d Hmm, font `L' is still used in old Sun docs. 2000-12-06 11:25:33 +00:00
Ruslan Ermilov
5914bd4e55 Font L' is not needed for BSD docs, but some use font CW'. 2000-12-06 09:01:07 +00:00
Ruslan Ermilov
0727d1b5ba Fixed device files building procedure. This makes
it possible to ``make all install'' in one pass.
2000-12-06 08:35:46 +00:00
Ruslan Ermilov
ebc20f71ea Upgrade to version 1.16.1. 2000-12-05 19:15:36 +00:00
David E. O'Brien
2c5569d6ff The GCC 2.96 snapshots have slightly different rules for finding include
files.  Mostly -I${.CURDIR} was needed -- especially for YACC generated
files as the new cpp does not look in the ultimate source file
(ie, the .y file)'s directory as told by the "#line" directive.  Some were
misspellings of "-I${.CURDIR}" as "-I.".
2000-12-01 09:39:28 +00:00
Ruslan Ermilov
05afaf4b47 Removed files not present in v1_15 import. 2000-09-22 10:05:18 +00:00
Tim Vanderhoek
87db9ff6f8 Once again fix substitution of TMAC_M and TMAC_S_PREFIX in manpages.
PR:		bin/5693 docs/9352
2000-05-21 02:49:14 +00:00
Bruce Evans
88287e1a2d Don't forget to clean "grog".
Don't use MANDEPEND.  It hasn't had anything to do with dependencies for
5-6 years, but is still being used, mainly in groff/*/Makefile, where it
amounts to just a macro giving the list of generated man pages.  Since
all man pages in groff are generated (from .man to .[1-9]), it's simpler
to use the source names ({$MANX}) to give the list.

Fixed some other style bugs.
2000-05-15 14:41:28 +00:00
Jeroen Ruigrok van der Werven
5547f6cadd Add necessary tmac files to the tmac Makefile and install them
in /usr/share/tmac like the rest.
2000-01-12 13:37:57 +00:00
Jeroen Ruigrok van der Werven
c0ecbb30f4 Allow devhtml and grohtml to be built.
This is a new feature of groff and is a html driver for groff.

From the manual page:
"grohtml translates the output of GNU troff to html."

This is very interesting for people working on documentation.
2000-01-12 13:17:51 +00:00
Jeroen Ruigrok van der Werven
0181caf3b7 Add bmake glue for devhtml and grohtml of the groff package. 2000-01-12 13:14:27 +00:00
Jeroen Ruigrok van der Werven
a5f364c428 Allow grog to be made during compilation. 2000-01-12 10:31:55 +00:00
Jeroen Ruigrok van der Werven
9eb65820c1 Add bmake glue for grog(1), an utility which guesses groff's
flags and options.

Requested by:	andreas
2000-01-12 10:30:27 +00:00
Andrey A. Chernov
dd14a64ec2 install hyphen.us-ru from GROFF_DIST/tmac/locale
repository move GROFF_DIST/troff/hyphen.us-ru to GROFF_DIST/tmac/locale
required
1999-09-21 20:51:36 +00:00
Andrey A. Chernov
1b45e33270 fix LOCALEDIR 1999-09-15 18:55:17 +00:00
Andrey A. Chernov
3e6ef2e23d install localized files 1999-09-11 19:56:05 +00:00
Andrey A. Chernov
6801fbaaa3 install hyphen.us-ru under locale subdir 1999-09-11 19:27:35 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Andrey A. Chernov
dd15a36091 Tune table since 0200-0206 is not available, add more chars 1999-07-31 15:51:57 +00:00
Andrey A. Chernov
9bb5be80ec Add more koi8-r chars 1999-07-31 13:17:47 +00:00
Andrey A. Chernov
96f0e50b5e install msafer.7 1999-07-31 12:20:29 +00:00
Mike Pritchard
430256ad16 Make direct calls to nroff work again. Rev 1.5 of contrib/gnu/nroff/nroff.sh
broke nroff because it added the '-S' option to the troff call, which
requires that the tmac.safer macro package be installed.

Since 90% of our *roff calls are probably generated by man(1), and
man(1) calls groff directly, I'm not really sure what rev 1.5 of nroff.sh
was trying to fix, but at least now nroff works again.

Broken by: imp
1999-07-30 19:15:16 +00:00
David E. O'Brien
0316085374 osfcn.h (part of libg++) is going away, so don't try to include it. 1999-04-05 05:08:20 +00:00
David E. O'Brien
983098e0c9 This is old C++ code -- no need for rtti or exceptions. 1999-04-04 16:44:33 +00:00
Bruce Evans
3b5ad50e7d Never generate neqn at install time (the previous fix for this was
incomplete).
1998-04-19 13:25:54 +00:00
Bruce Evans
71d8a2d21a Generate files at build time, not at install time. This should be the
last fix of this type.  Installing from a read-only object tree should
work now.

Install files using a single install command where this is easy; don't
use shell loops.

Don't use MANDEPEND to complicate things.
1998-03-21 12:12:55 +00:00
Bruce Evans
e52ff61466 Put generated source files in SRCS. This fixes races generating
the source files.  E.g., the stale version of locate.cc in the
source directory was sometimes used.  We didn't even use beforedepend.

Added temporary files to CLEANFILES.

Fixed some style bugs.
1998-03-20 12:05:50 +00:00
Bruce Evans
71ab679790 Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS.

Don't use MANDEPEND to complicate things.  Just put the generated
man page in CLEANFILES.

Partly fixed yacc header brokenness, as in ../eqn/Makefile.

Added temporary files to CLEANFILES.

Fixed some style bugs.
1998-03-20 12:04:59 +00:00
Bruce Evans
33c198cc5f Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS.

Don't use MANDEPEND to complicate things.  Just set MAN1 and put
generated man pages in CLEANFILES.

Added temporary files to CLEANFILES.

Partly fixed a potentially fatal bug involving the yacc header.
We generate eqn.cc (even if there is a version of it in the source
directory older than eqn.y) and a matching eqn.tab.h, but only use
the possibly-non-matching eqn.tab.h in the source directory.  This
works because Cygnus's yacc happened to generate a y.tab.h identical
to the current generated one.  The correct version will be used
when the wrong version is deleted from the source tree.  Kludge to
get the header generated early enough.  Yacc headers are mishandled
everywhere they are renamed (and used).

Generate neqn at build time, not at install time.

Fixed some style bugs.
1998-03-20 12:03:53 +00:00