Commit Graph

210 Commits

Author SHA1 Message Date
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
Mike Pritchard
83d3a958bf Updated the ".St -ansiC" macro to report "ISO 9899: 1990 (``ISO C'')"
You can also specify -iso9899, or -isoC.  Use -ansiC-89 if you still need
the X3.159-1989 string reported.

Suggested by Garrett Wollman.
1996-01-31 20:55:35 +00:00
Mike Pritchard
fb87014e2d Teach the .Os macro about FreeBSD and our releases. E.g.
.Os FreeBSD 2.1

will now display "FreeBSD 2.1" at the bottom of the man page,
instead of just "FreeBSD".

Added a bunch of missing standards to the .St macro.

4.4BSD is no longer "BSD Experimental".

Obtained from:  Partially obtained from NetBSD & 4.4BSD-lite2
1996-01-31 16:34:53 +00:00
Peter Wemm
6065a0be11 This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
Andrey A. Chernov
404392d45c Add setlocale LC_CTYPE 1995-10-28 14:30:50 +00:00
Andrey A. Chernov
5e45342eb4 Simplify FILES section in the same manner like groff manpage
does, add more koi8-r references
1995-10-28 12:56:05 +00:00
Andrey A. Chernov
102a0c6fe0 Add reference to koi8-r device, fix formatting a little 1995-10-28 12:49:38 +00:00
Andrey A. Chernov
dd724f1d0c Add reference to koi8-r device 1995-10-28 12:41:56 +00:00
Torsten Blum
59f0c0d522 fix bad dependencies (LIBMATH -> LIBM) 1995-10-25 15:08:21 +00:00
Bruce Evans
02b537bd23 Remove private maninstall target. It will conflict with the one in
bsd.man.mk when I change the latter to use `::' instead of `:'
dependencies.  (bsd.man.mk is included because NOMAN isn't defined.
The maninstall target is supposed to be private to bsd.man.mk so
bsd.man.mk doesn't bother testing if it is already defined.  The
test for redefinition in Makefile.dev was too early to do anything.)

Change install target to a beforeinstall target (perhaps there should
be an `extrainstall' target so that Makefiles don't have to abuse
one of beforeinstall, install, realinstall or afterinstall).  Don't
bother testing for the install target already being defined.  Rewrite
the shell loop as a make loop (this reduces the time for installing
groff from 78s to 65s here).
1995-10-21 16:26:38 +00:00
Gary Clark II
171a357ba5 Change UNIX to FreeBSD.
I got tired of see ``UNIX System Managers Manual''

NOTE: There still a couple of UNIXs left in here.  There deal with the
documents.  We may want to change there also, even though VERY little of there
even pertain to FreeBSD.
1995-10-10 11:34:10 +00:00
Bruce Evans
252eedb90d Intitialize $(tmac_s_ and $(tmac_m). Use the initialized variable $(device)
instead of the uninitialized one $(DEVICE).

I hoped these changes would fix some of the large runtime macro processing
bugs, but they seem to only fix some small build-time macro substitution
bugs.  E.g., `man ms' now tells you to invoke groff with the flags `-ms'
instead of the bogus flags `-m'; `man groff now tells you that the default
device is `ps' instead of the bogus device `'.
1995-09-28 19:31:07 +00:00
Paul Traina
522aab930c Don't build xditview unless the actual include files for X11 are present.
Merely checking for the directory is -not- sufficient, since the XFree86
non-programmers distribution has that directory to hold bitmaps.
1995-07-29 17:47:53 +00:00
Bruce Evans
9c0dc173cc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
Bruce Evans
ddb43e8bd8 Change install' to ${INSTALL}' as usual.
Don't remove targets before installing.  Removing targets will defeat
`install -C'.
1995-07-24 23:51:48 +00:00
Rodney W. Grimes
4399be3cbd Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
Rodney W. Grimes
aa556f48a9 Add missing $(DESTDIR) to rm command so that this stops removing files
from my master system.

This makefile is a crock, and will soon be rewritten!
1995-04-17 19:10:20 +00:00
Poul-Henning Kamp
7d6349eb5f Don't rely on execute bit. 1995-02-23 05:48:38 +00:00
Bruce Evans
b185266a8a Quiet `make -s'. 1995-02-08 20:12:08 +00:00
Bruce Evans
dc3c30d9be Look for files to install first in the object directory, then in the
source directory.

Don't create target directories at install time.  mtree already handles
them correctly.
1995-02-02 17:44:02 +00:00
Bruce Evans
ceac74879e Install man.local in the correct directory. Apparently everyone is using
the version installed from /usr/share.  It's hard to eliminate old versions
- few Makefiles have `uninstall' targets and sup/ctm tends to blow away
old Makefiles.

This Makefile needs more work.  Stuff is built at install time...
1995-01-26 06:00:40 +00:00
Bruce Evans
03a6bd1d69 Remove stale NOOBJ.
Use standard clean and cleandir targets.
1995-01-25 19:26:31 +00:00
Bruce Evans
4c4b1af8c2 Makefile.tty:
Initialize CLEANFILES.  All tty FONTFILES are objects.
1995-01-25 19:25:20 +00:00
Bruce Evans
49da4dfc8d Makefile.dev:
Don't initialize CLEANFILES here.  Many FONTFILES are sources and required
special clean rules to avoid cleaning.

Makefile.tty:
Initialize CLEANFILES.  All tty FONTFILES are objects.
1995-01-25 19:19:03 +00:00
Bruce Evans
b34bc5463d Fix installation of the link to tmac.an. $(FOO} doesn't work. 1995-01-19 15:58:34 +00:00
Andrey A. Chernov
a5bf27a269 Remove sneaked tabs
Submitted by: Ollivier Robert
1995-01-19 10:39:22 +00:00
Andrey A. Chernov
586cc4e455 Install additionly S and L text fonts, needed for BSD docs formatting 1995-01-17 22:02:34 +00:00
Andrey A. Chernov
8cd8abf162 Oops, forget to add \{ \} in prev. commit 1995-01-17 21:08:33 +00:00
Andrey A. Chernov
a61b49098a Fix for 8bit clean ctype 1995-01-17 20:36:26 +00:00
Andrey A. Chernov
32bb7861f2 koi8-r added 1995-01-17 20:17:31 +00:00
Andrey A. Chernov
1f1d79eb97 Back out prev change, don't load tty-char directly, it is already done
into nroff shell script
1995-01-17 20:11:04 +00:00
Andrey A. Chernov
3e6c1c6d90 Load russian hyphentation for -Tkoi8-r 1995-01-17 20:08:42 +00:00
Andrey A. Chernov
309c205212 afterinstall --> beforeinstall to make LINKS work 1995-01-17 19:05:12 +00:00
Andrey A. Chernov
a5cf5392ff Remove unnecessary complex renaming after nuking BSD tmacs 1995-01-17 18:49:52 +00:00
Andrey A. Chernov
083ad6c648 Rename tmacs properly (me)
Strip renamed pages before install
1995-01-17 18:31:07 +00:00
Andrey A. Chernov
055e903386 Add missing file 1995-01-17 17:51:52 +00:00
Andrey A. Chernov
bc70277b5b Add missing psroff.sh (for compatibility with old groff) 1995-01-17 17:36:19 +00:00
Andrey A. Chernov
0293a7a389 Remove troff chars emulation, handled better via tmac.tty-char 1995-01-17 01:08:03 +00:00
Andrey A. Chernov
c1328812d5 Back out 1.x changes (additional troff chars), now handled
via tmac.tty
1995-01-17 01:01:56 +00:00
Andrey A. Chernov
e9844b337b Define troff chars in more nice way than defining them into
devascii R.proto (will be fixed too)
1995-01-17 00:58:05 +00:00
Andrey A. Chernov
aab45466ff Move MANSRC defining rule (fix for obj subdir) to top level
Makefile.cfg, needed not only in man subdir
1995-01-17 00:42:27 +00:00
Andrey A. Chernov
f94052d6fc Add russian hyphentation rules 1995-01-17 00:35:51 +00:00
Andrey A. Chernov
9acd98f380 Add koi8-r referred to tmac.tty 1995-01-17 00:21:30 +00:00
Andrey A. Chernov
5b90fb0af3 Add koi8-r as valid -T option 1995-01-17 00:13:15 +00:00
Andrey A. Chernov
7ac7111d42 Add devkoi8-r to SUBDIR 1995-01-17 00:06:29 +00:00
Andrey A. Chernov
a7e36b1757 Add koi8-r device (russian charset) 1995-01-17 00:04:14 +00:00
Andrey A. Chernov
7650ac4508 Fix install target when obj subdir present 1995-01-16 23:17:06 +00:00
Andrey A. Chernov
2875b41727 Don't call $(SHELL) for mdate.sh, call its directly.
Old method don't works, if login shell != sh && != bash
1995-01-16 23:02:07 +00:00
Paul Traina
4f6d30a46a One last one... 1995-01-15 09:12:29 +00:00
Paul Traina
b5e6cd375f Last of the FreeBSD changes 1995-01-15 09:06:50 +00:00
Paul Traina
d94fc6a011 Layer in FreeBSD changes 1995-01-15 08:36:35 +00:00
Paul Traina
26444f9367 Layer in all FreeBSD patches 1995-01-15 08:30:25 +00:00
Paul Traina
f84f13d3d0 groff-1.09 1995-01-15 08:10:00 +00:00