Commit Graph

44 Commits

Author SHA1 Message Date
bapt
4ecca13b4c Remove usage of _WITH_GETLINE from usr.bin 2016-07-30 01:07:47 +00:00
sjg
008d7c831f Add META_MODE support.
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision:       D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
sjg
75a137820d dirdeps.mk now sets DEP_RELDIR 2015-06-08 23:35:17 +00:00
sjg
65145fa4c8 Merge sync of head 2015-05-27 01:19:58 +00:00
bapt
22040d2a98 Reduce the size to 64 for the commands, 512 was way too large for the purpose
Noticed by:	julian
2015-05-07 21:30:29 +00:00
bapt
87da24f6db Enlarge the buffer for storing macros as some macros can be longer than 5 2015-05-05 09:54:47 +00:00
bapt
fcab16a373 Update the list of known roff commands (adding the mdoc package)
Obtained from:	NetBSD
2015-05-05 09:50:21 +00:00
bapt
dd5948751d Properly assign open and close brackets and checks memory
Obtained from:	NetBSD
2015-05-05 09:33:32 +00:00
bapt
8224924ecc Ensure we read existing values of the stk table
Obtained from:	NetBSD
2015-05-05 09:29:32 +00:00
bapt
a7c69e6c58 Use stdup(3) and check its return instead from homebrew version using strcpy(3)
and malloc(3)

Obtained from:	NetBSD
2015-05-05 09:26:32 +00:00
bapt
7517f3fab7 cosmetic fixes
Obtained from:	NetBSD
2015-05-05 09:24:29 +00:00
bapt
e32b1e9092 Remove limitation on input lines by using getline(3) 2015-05-04 22:27:55 +00:00
bapt
3e499178cd Extend the list of known nroff/troff commands
Obtained from:	heirloom doctools
2015-05-04 22:18:58 +00:00
bapt
7169caff2e Take from heirloom's doctools version of checknr(1) some cosmetic fixes
This helps working on synchronising both tools
2015-05-04 22:05:12 +00:00
sjg
5860f0d106 Updated dependencies 2014-05-16 14:09:51 +00:00
sjg
1a7e48acf1 Updated dependencies 2014-05-10 05:16:28 +00:00
sjg
6d37b86f2b Updated dependencies 2013-03-11 17:21:52 +00:00
sjg
0ee5295509 Updated dependencies 2013-02-16 01:23:54 +00:00
marcel
9dd41e3647 Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
ed
3894f3031c Mark global functions and/or variables in checknr(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:03 +00:00
brucec
318d44b9bc Remove duplicate "in".
Suggested by:	Rob Farmer <rfarmer at predatorlabs.net>
MFC after:	3 days
2011-03-01 11:47:51 +00:00
brucec
3c9e970368 Revert some of r177626. "in in" is valid in certain sentences.
PR:		121490
MFC after:	3 days
2011-02-28 10:03:48 +00:00
joel
29af67e52c Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with:	imp, rwatson
2010-12-11 08:32:16 +00:00
brueffer
b64d211df2 Fix some "in in" typos in comments.
PR:		121490
Submitted by:	Anatoly Borodin <anatoly.borodin@gmail.com>
Approved by:	rwatson (mentor), jkoshy
MFC after:	3 days
2008-03-26 07:32:08 +00:00
tjr
dc2c21960c Document input line length limit. 2005-01-25 22:32:48 +00:00
ru
7f3c7f0d46 Sort sections. 2005-01-18 13:43:56 +00:00
tjr
8fb57041b7 Use warn() instead of perror(). 2004-07-15 04:45:24 +00:00
ru
fb1d8b3724 Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
tjr
564a07d9be Close files after opening them to avoiding leaking descriptors and memory. 2003-06-01 06:15:30 +00:00
dwmalone
fe8579aa8f ANSIify function definitions to avoid a warning.
Minor constness changes.
2002-07-28 14:55:59 +00:00
charnier
feb9b6ff6d Use `The .Nm utility'. Introduce options with well known sentence. 2002-04-19 23:23:28 +00:00
imp
74d826c7a6 remove __P 2002-03-22 01:22:50 +00:00
dwmalone
3de45f43ac 1) Don't use -Wall in Makefile.
2) Don't compile vendor ID.
3) WARNS=4 fixes (constness, make a global local to avoid shadowing, unused
   parameters, rename local to avoid shadowing, remove junk after #endif)
4) remove some "register"s.
2002-02-27 15:49:07 +00:00
dd
911ca14c87 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ru
36f138439b mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
ru
0d1334ca0c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nik
6578739ddb Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:24:20 +00:00
archie
167c036e91 Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
charnier
c32c798b05 Add prototypes to functions. Make -Wall happy. 1997-06-24 06:54:43 +00:00
wosch
4bcfb053ec Sort cross references. 1997-01-15 23:25:55 +00:00
mpp
0796408d4a Another round of man page cleanups.
Down to only about 100 items left to cleanup! :-)
1996-02-12 04:57:03 +00:00
asami
9a52e662ef Terminate string copied by strncpy() by '\0' to fix a core dump.
Submitted by:	kogane@kces.koganemaru.co.jp (Nobuyuki Koganemaru)
1995-06-30 04:59:44 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00