Commit Graph

202 Commits

Author SHA1 Message Date
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
Bruce Evans
c0a15f333f Removed bogus -I path. The correct path is in all subdir Makefiles
where it matters.
1998-03-20 11:08:52 +00:00
Bruce Evans
e5eb0d8db1 Don't create an unused obj directory. 1998-02-20 11:18:57 +00:00
Bruce Evans
45c9cb5439 Use BINOWN, etc. instead of bin, etc. so that (this part of)
`BINOWN=... make world' can be run by users other than root.
1997-12-17 12:04:53 +00:00
Joerg Wunsch
b71ec8cc29 Nevermind... Wolfram already did it, but added the file (IMHO wrong)
to the contrib area so i didn't see it.
NB: RELENG_2_2 is still missing it (what's why i didn't see it in the
first place).
1997-09-29 14:27:55 +00:00
Joerg Wunsch
5b9dc35332 Add a stub man page for psroff(1). 1997-09-29 14:24:35 +00:00
Wolfram Schneider
11210c4ed5 Add a simple manpage. 1997-09-15 16:08:56 +00:00
Andrey A. Chernov
40d7476321 Fix neqn building:
1) Move it after Makefile.inc included since it uses DIST_DIR from there
2) Add neqn.sh dependance
1997-09-15 01:56:29 +00:00
Wolfram Schneider
c455f09b2d Add a simple manpage. 1997-09-14 23:43:22 +00:00
John-Mark Gurney
ffc946a350 bin to BIN{OWN,GRP} and add Id line 1997-08-23 05:26:32 +00:00
Philippe Charnier
c1fe3bceca Add -fno-for-scope to CFLAGS, required by gcc (see NEWS).
PR:	gnu/3585
1997-05-23 06:17:21 +00:00
Peter Wemm
16d01e82bc Oops.. Missed this one too. getopt is in unistd.h now, not stdlib.h 1997-03-11 17:57:26 +00:00
Bruce Evans
e2a82ece46 Fixed style bugs in install rule (afterinstall -> beforeinstall, etc).
Removed stale comment.
1997-03-09 07:27:18 +00:00
Bruce Evans
68c2b4ec81 Don't use a dot in the chown commands. In fact, don't use any commands
except `install'.  Changed $() to ${}.  Don't use the afterinstall target
(it is only for things that must be done after the install target is
built).
1997-03-08 19:28:07 +00:00
Bruce Evans
388fb3082e Fixed substitution of @TMAC_S_PREFIX@ and @TMAC_M_PREFIX@. 1997-03-08 19:06:23 +00:00
Peter Wemm
fce15c9ab3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
Jordan K. Hubbard
1130b656e5 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.
1997-01-14 07:20:47 +00:00
Bruce Evans
015a0dc2e4 Use ${COPY} instead of -c for installing non-source files. 1997-01-01 04:22:23 +00:00
John Fieber
29c8b5b52b Add missing tmac.lj4 (for PCL driver) 1996-09-11 22:16:59 +00:00
Poul-Henning Kamp
b6b34a5e0f DISTDIR is a reserved variable for make release
s/DISTDIR/DIST_DIR/g
1996-09-09 18:05:29 +00:00
Paul Traina
de906456ec long live groff 1996-09-08 01:30:16 +00:00
Paul Traina
f7c160386a ...long live groff 1996-09-08 01:27:58 +00:00
Paul Traina
e72c5689b0 Initial revision 1996-09-08 01:21:19 +00:00
Paul Traina
c8f36f3496 Groff is dead... 1996-09-08 01:09:04 +00:00
Paul Traina
604a5013e8 Add Russian language / koi8-r font support.
Original author: ache
1996-09-08 00:28:32 +00:00
Paul Traina
b3e7b046b0 Add psroff command 1996-09-08 00:26:24 +00:00
Wolfram Schneider
a0228a8384 add Version 1 AT&T UNIX to .At macro 1996-08-28 22:37:00 +00:00
Paul Traina
50893e50e2 Bring xditview back from the grave (part 2).
Fix things so it *really* won't compile if the environment isn't there.

This commit has been sitting in my to-do list for 2 months.  Xditview
should never have been half-removed, so now it's back with a vengance
because we want to keep groff intact as a package.
1996-08-05 00:44:59 +00:00
Paul Traina
ca9baf71f2 Bring xditview back from the grave (1 of 2 commits). 1996-08-05 00:42:06 +00:00
Mike Pritchard
834c252e5c Teach the mdoc .Os and .Fx macros about the FreeBSD 2.1.5 release. 1996-07-10 23:53:13 +00:00
Jordan K. Hubbard
cd9a2f5c28 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.
1996-06-24 04:26:21 +00:00
Jordan K. Hubbard
faf4b6d3b5 Nuke xditview. It was in the same category as xroach.
Screeched-For By: Michael Smith
1996-06-16 13:15:35 +00:00
Wolfram Schneider
d16e1f5c68 remove SHAREDIR?=/usr/share, already defined in bsd.own.mk 1996-05-22 00:26:57 +00:00
Wolfram Schneider
9fb933075e `mv'' -> `mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
1996-05-07 23:19:49 +00:00
John Polstra
7aa5215c03 Add a couple of needed X11 libraries. Discovered when trying to build a
static version.
1996-04-22 20:24:56 +00:00
Mike Pritchard
a218f99adb Added a ".Fx" macro to the mdoc package. Usage:
.Fx version.rel { , . ; : ( ) [ ]

Example:

The
.Nm xyzzy
command first appeared in
.Fx 2.2 .

Produces:

The xyzzy command first appeared in FreeBSD 2.2.

Suggested by wollman.
1996-02-12 19:25:18 +00:00
Mike Pritchard
bcff8e2ae4 Another round of man page cleanups.
Down to only about 100 items left to cleanup! :-)
1996-02-12 04:57:03 +00:00
Mike Pritchard
7c87ef470d Correct some manual page cross reference errors. E.g. su is a section
one man page, not section eight.  This is the first round of such changes
and only fixes man pages in manual section one.
1996-02-02 00:26:12 +00:00
Mike Pritchard
24b0124f19 Fix the ".Os" macro to not display "BSD Experimental" if no arguments
are specified.  Just "BSD" is displayed instead.
1996-02-01 18:04:22 +00:00
Mike Pritchard
6f151a1436 Remove groff/tmac/mm.diff - it is just a small file containing a context
diff that was probably mistakenly committed when the package was brought in.
1996-01-31 21:07:22 +00:00