Commit graph

15 commits

Author SHA1 Message Date
Glen Barber
579bf08516 Skip lines starting with a comment or whitespace.
Sponsored by:	The FreeBSD Foundation
2017-05-25 15:54:03 +00:00
Eitan Adler
4f86d190ba doc/share/examples: slight modernization
- stop using the 'X' trick
- use more quotes
2015-04-02 01:30:08 +00:00
Glen Barber
a9e4ca56eb In build_manpages(), evaluate the 'package' variable which,
if zero-length, turns on NO_MLINKS mode for comparing against
man-refs.ent.

After processing (and updating man-refs.ent if needed), run
build_manpages() again without NO_MLINKS, which then produces
an archive containing manual pages that are installed as hard
links (MLINKS), such as tar(1), sound(4), etc., which people
do expect to be available on the website.

Sponsored by:	The FreeBSD Foundation
2015-01-27 21:13:17 +00:00
Glen Barber
33309ad8b1 Work around suspected broken logic in the handling
of TESTSBASE and/or TESTSDIR in base/head/.

My observations suggest when TESTSBASE is specified
as a make(1) variable, DESTDIR seems to get lost if
NO_ROOT is also specified.

To work around this, export DESTDIR earlier, and
explicitly prefix TESTSBASE and TESTSDIR with its
value.

This fixed refreshing the man-refs.ent file from
a recent checkout of base/head/.

While here, bump the Copyright year.

Sponsored by:	The FreeBSD Foundation
2015-01-08 19:15:47 +00:00
Glen Barber
e451d6b123 Add a few tweaks to missing-manrefs.sh:
- In build_manpages(), specify -DNO_ROOT to suppress
   false errors when the 'hier' target gets kicked.

   While here, create a tgz package containing the
   /usr/share/man and /usr/share/openssl to make it
   easier to refresh the man.cgi backend.

 - In add_manref(), work around a recurring issue where
   the add-manref.sh script thinks 'atf-c++-api' is
   a valid entity entry.

   Also fix the section ID passed to add-manref.sh,
   which by the looks of it, should have never worked
   in the first place.

   Use realpath(1) to when passing the target file,
   manual page, and section to add-manref.sh so using
   '.' to specify the current working directory for
   either the path to src/ or doc/ are valid.

Sponsored by:	The FreeBSD Foundation
2014-10-17 18:06:05 +00:00
Glen Barber
63e253f62a Add the copyright header that disappeared during pre-commit
editing.

Spotted by:	hrs
Sponsored by:	The FreeBSD Foundation
2014-08-27 12:43:32 +00:00
Glen Barber
ae3a4ba21c Add the script I used to find manual pages missing
from head/share/xml/man-refs.ent.

Sponsored by:	The FreeBSD Foundation
2014-08-26 21:05:46 +00:00
Glen Barber
4c5d6a6331 Update add-manref.sh to be compliant with DocBook 5.0.
Sponsored by:	The FreeBSD Foundation
2014-01-21 00:45:03 +00:00
Eitan Adler
f7a4177fe2 Update vim examples from sgml to xml
Approved by:	bcr (mentor)
2012-11-01 19:11:19 +00:00
Eitan Adler
9e90a2b026 Update vim examples from sgml to xml
Approved by:	bcr (mentor)
2012-11-01 19:11:14 +00:00
Gabor Kovesdan
77d737ee88 - Rename the share/sgml directories to share/xml
- Fix build errors from the next change

Approved by:	doceng (implicit)
2012-10-01 11:56:00 +00:00
Jesus R. Camou
445be8d976 Add the same two characters to this one as well.
PR:		docs/72435
Submitted by:	carvay
Approved by:	trhodes (mentor)
2005-03-31 23:11:32 +00:00
Jesus R. Camou
b65f66dfd4 Add two more characters used in other languages.
PR:		docs/72434
Submitted by:	carvay
Approved by:	trhodes (mentor)
2005-03-31 23:04:11 +00:00
Dima Dorfman
de4dca94cc Add two scripts that manipulate man-refs.ent. add-manref.sh inserts a
new man page entity with the right format into the right place.
Revs. 1.82-1.84 of man-refs.ent are a good, although perhaps extreme,
example of what this is trying to prevent.  check-manref.sh makes sure
that the entities in man-refs.ent are in the right order, which is
necessary for add-manref.sh to work properly.
2001-07-24 10:56:11 +00:00
Nik Clayton
2ee8a10ad2 Sample .vimrc and associated files for editing FDP documentation, and
maintaining structure, and so on.

Submitted by:   Robert Brive <brive@freebsd-fr.org
1999-11-15 19:41:09 +00:00