Commit graph

3624 commits

Author SHA1 Message Date
Jun Kuriyama
af40ad9b9d Clean-up around directory traversing and revision checking.
Submitted by:	hrs
2000-10-02 09:16:24 +00:00
Jun Kuriyama
7ba08d9ec1 Use osgmlnorm if OPENJADE is defined. 2000-10-02 07:52:48 +00:00
Neil Blakey-Milner
fbca680c07 First (and very minor) changes on the way to make the www build
obj-clean.

This basically entails putting ${.CURDIR} in front of the occasional
source file, script, or directory.

Also adds '.include <bsd.obj.mk>' to web.mk so 'make obj' works.

Change gencommercial script to take a '-s' flag pointing to the source
directory, and the portindex script to take an optional additional
parameter indicating the source directory.

Add -D ${.CURDIR} to sgmlformat to follow includes properly.
2000-09-30 00:21:39 +00:00
Neil Blakey-Milner
c97832896f If OPENJADE is defined, use the openjade replacement tools like
'openjade', 'onsgmls', like 'osgmlnorm'.
2000-09-28 23:34:49 +00:00
Neil Blakey-Milner
1c78f1c07d a) "Fix" out-of-tree builds by not hard-coding locations of dsl files
with SYSTEM, and using instead PUBLIC entities gained from the catalog
in the directory of the language the document belongs to, or the
language-neutral entity.  Now we always use default.dsl as our dsl
master, and it grabs the necessary magic from the catalogs.

b) Fix the always-out-of-date imagelib problem with some make(1)-fu.

Approved by:	nik (ages ago)
2000-09-28 23:29:48 +00:00
Nik Clayton
a9b9a2fe08 Add ${DSSSLCATALOG} and ${JADECATALOG} to the list of catalogs the lint:
target uses -- this ensures that any options (such as "OMITTAG NO") that
are used when building the docs are also used when linting them, so that
errors don't slip through the cracks.

Prompted by r1.93 of the FAQ.
2000-09-25 08:17:03 +00:00
Kris Kennaway
0b7ced8f84 Move pre-2000 advisories to an old/ directory 2000-09-17 09:10:33 +00:00
Kris Kennaway
1ea24db39b Add advisories 00:34 through 00:51 2000-09-17 09:08:23 +00:00
Ben Smithurst
bc7dd81816 Add emacs(1). 2000-08-25 18:34:30 +00:00
Daniel Harris
2cac724077 Update list of supported releases from 4.0 to 4.1. 2000-08-19 18:01:53 +00:00
Jun Kuriyama
61306ad2cc Add &man.vim.1; entry.
Fix bugs in using <screen> element.
Use $FreeBSD$ instead of $Date$.
2000-08-15 01:39:52 +00:00
Ben Smithurst
a1a8a70906 Fix some entities added in rev 1.45. ("c" -> "c++", likewise for lex++,
flex++ and g++)
2000-07-27 19:17:31 +00:00
Ben Smithurst
a3ab85bc59 Fix the doc build by adding back less(1) and more(1), which were
mysteriously removed in the last commit.
2000-07-26 22:09:55 +00:00
Jim Mock
3b254dbc55 Add entities for the few thousand man pages not already in this file.
PR:		20130
Submitted by:	Udo Erdelhoff <ue@nathan.ruhr.de>
2000-07-26 20:04:20 +00:00
Ben Smithurst
e1ae582ceb Add more(1) and less(1), which will be needed when I add des' mini
CVS primer to the committers-guide.
2000-07-26 00:57:20 +00:00
Ben Smithurst
846c848b3d Add some magic which puts double quotes around <errorname> text.
Submitted by:	nik
2000-07-25 18:23:45 +00:00
Nik Clayton
c0ca318851 Turn on callout graphics. Forgot this from about a week ago. 2000-07-25 10:31:35 +00:00
Nik Clayton
460016ce35 Fix the handling of unsupported formats (like "html-split") in doc.html.mk.
Output a non-fatal warning for these.  For unknown formats output a fatal
error.
2000-07-23 16:27:58 +00:00
Ben Smithurst
7047aab304 Add crontab(5). 2000-07-20 00:14:29 +00:00
Alexander Langer
1a67368c0d sleep(1) 2000-07-19 08:38:39 +00:00
John Baldwin
3ac389f2d4 Don't allow html-split to be treated as a format during install.
Admittedly, this is a hack, and the real solution is to sanitize FORMATS
by removing any words that aren't in KNOWN_FORMATS.  This fixes release
since releases uses 'html html-split txt' for FORMATS when it compiles and
installs the docs.
2000-07-19 01:46:48 +00:00
Nik Clayton
f631452350 doc.images.mk
LOCAL_LIB_IMAGES_DIR should be a path component, not a complete path, so
remove ${.CURDIR}.

doc.docbook.mk

Set the directory for image installation correctly, and ensure that the
directory exists before we try and do anything with it.

These should fix the installation problems people are having with the
primer.  There's still an outstanding bug -- make(1) thinks that the
local library images are out-of-date with respect to the ones in
share/images for some reason.  This forces a rebuild each time.  I'm
still looking at that.
2000-07-18 16:30:45 +00:00
Nik Clayton
693df4dc05 Fix the problem where <foo>.html.gz was being listed as a dependency, and
we don't need it anymore.

I'm fixing this from Kirk's tutorial at the O'Reilly Open Source conference.
He was no help at all. . .
2000-07-17 22:30:03 +00:00
Neil Blakey-Milner
279c23a44c LANGCODE, not LANG_CODE. Of course, it passed testing, because
doc//share/sgml/freebsd.dsl exists.
2000-07-17 08:51:38 +00:00
Nik Clayton
f516af4dd2 Pull out <faqlist>, it was a local hack and shouldn't have gone in.
Add <co> in a new context, so it can be used inside <userinput>.  This
should be fixed in the next version of DocBook.
2000-07-16 22:56:52 +00:00
Nik Clayton
69a59546e0 Make sure the LOCAL_LIB_IMAGES_DIR directory is cleaned appropriately. 2000-07-16 16:34:08 +00:00
Nik Clayton
57f6bf9869 Support library images. Do this by
1.  Listing LIB_IMAGES as a dependency on certain targets, to ensure
    that library images are pulled in correctly.

2.  Create a new FORMAT, html.tar, to cater for the case where we might
    be producing a single .html file, but we need to tar that up for
    distribution and the tar file needs to include all the images.

3.  Update the various install-* targets to include the images.

4.  Update the package-* targets to include the images

While I'm here, pull out the .doc target.  For some reason I thought our
tool chain could produce Microsoft Word .doc files.  It can't.
2000-07-16 16:32:27 +00:00
Nik Clayton
03f0782120 Pull in doc.images.mk as necessary.
Also pull in doc.html.mk when DOCFORMAT==html, something I missed from
an earlier commit.
2000-07-16 16:29:18 +00:00
Nik Clayton
f24bb0a201 Image support in the documentation. For the time being, just support
library images (and in particular the callout bugs).
2000-07-16 16:27:30 +00:00
Ben Smithurst
702e4ca0b5 The textproc/docproj port uses w3m these days, not Lynx, so update
the FDP Primer accordingly.
2000-07-15 17:34:21 +00:00
Neil Blakey-Milner
2d8415a9de 1) Use non-relative path to the DSL location, which makes external
document building work again.

2) Add support for building html documents, which is required for
ipsec-must document.
2000-07-14 08:42:49 +00:00
Kris Kennaway
85ee976b5b Add links to security advisories SA-00:19 through SA-00:33, and update
"supported releases" to 3.5-STABLE.
2000-07-13 08:40:44 +00:00
Alexey Zelkin
7e1cea278c Add in first Russian FPI (bookinfo) 2000-07-08 16:31:28 +00:00
Nik Clayton
2ee393d1be Support infrastructure for HTML documents in the doc/ tree. 2000-06-26 09:04:24 +00:00
Kevin Lo
b6ae9ba9d7 Add the dockbook man entities for exit, write, and as.
PR: 19425
Submitted by: Thomas M. Sommers <tms2@mail.ptd.net>
2000-06-22 01:01:31 +00:00
Alexander Langer
f62c5833d0 Add syscons(4) 2000-06-20 09:56:02 +00:00
Nik Clayton
a42eebcfca bridge(4), dummynet(4) 2000-06-19 13:27:23 +00:00
Kris Kennaway
1196e3a1b3 Add some recent advisories 2000-06-08 04:07:55 +00:00
Nik Clayton
47d09477ce Add natd(8), rc.conf(5), mergemaster(8). 2000-06-07 23:16:15 +00:00
Nik Clayton
7056d587a8 lp(4) and lpt(4). 2000-05-24 20:02:38 +00:00
Nik Clayton
22ac8a6302 Add entity for pkg_info(1). 2000-05-23 00:41:35 +00:00
Kris Kennaway
3ad5d4f197 Update the list of security advisories for 2000, now that they have
finally appeared on the FTP site.

Update the list of FreeBSD releases for which security advisories are
released.

Make mention of the its4 port for security auditing.

Point to http://www.shmoo.com/securecode/ as a useful secure coding
reference site.
2000-05-09 06:23:16 +00:00
Jun Kuriyama
f031daaef3 Clear $SGML_CATALOG_FILES environment variable before sgmlnorm.
Sometimes sgmlnorm failed if $SGML_CATALOG_FILES contains incompatible
catalogs.
2000-04-29 07:50:27 +00:00
Jun Kuriyama
931dd61f12 Do xargs only if HTML.manifest is exist. 2000-04-29 07:46:15 +00:00
Alexey Zelkin
483a9ff659 Implement more clever mechanizm to clean external directories (in doc/ tree) 2000-04-23 14:31:21 +00:00
Alexey Zelkin
72d61326f1 Introduce ${PERL} variable. 2000-04-20 16:39:10 +00:00
Andrey A. Chernov
252ca0b927 add multibyte.3 2000-04-16 21:39:50 +00:00
Kris Kennaway
7a426fcf30 Sort the security advisories in reverse chronological order 2000-04-13 02:36:50 +00:00
Jim Mock
41ce8dd6a7 Add bits for the kernel config chapter. 2000-04-06 00:07:41 +00:00
Jun Kuriyama
524d9b90cd Add missing </LI>s and </P>s. 2000-04-03 11:03:37 +00:00
Bill Swingle
b5f643dd92 Added dhcp related manpages to man-refs.
Submitted by:	gsutter
Reviewed by:	jim
2000-04-03 08:59:01 +00:00
Jim Mock
8e652b2217 Add an entity for the exports(5) man page, which is needed for the NFS
section of the advanced networking handbook chapter.
2000-03-30 23:57:12 +00:00
Jim Mock
22eb175baf Add references needed for the security chapter. 2000-03-25 00:20:03 +00:00
Neil Blakey-Milner
4dfd8b3329 Fix the new localized dsl stuff for the obj build case. 2000-03-24 19:31:34 +00:00
Nik Clayton
a595525171 Give each language and encoding it's own freebsd.dsl, to contain style
sheet definitions for that language only.  Each file reads in the defaults
from the master share/sgml/freebsd.dsl file, and adds overrides, or new
definitions, as necessary.

Move the per-language hacks from share/sgml/freebsd.dsl in to
<lang>/share/sgml/freebsd.dsl as necessary.

Add links to the -questions and -doc mailing lists to the bottom of the
generated HTML output for some languages.  The -questions link will
become a link to Greg's "Getting the most from questions" document when
I bring that in, but I haven't done that yet, and I didn't want these
patches hanging around my local tree.

This was the real reason for making freebsd.dsl language local, as it
makes it much easier to translate generated text, such as the text of
the links, without polluting share/sgml/freebsd.dsl.

Update doc.docbook.mk to use the new, per-language freebsd.dsl file when
building the docs.  While I'm here, update .pdb generation so that it
creates a symlink to ${CURDIR:T}.pdb as well (e.g., the Handbook generates
"book.pdb" and "handbook.pdb").  This makes it easier to install more than
one document on a Palm, because two docs called "book.pdb" or "article.pdb"
can not co-exist.
2000-03-23 09:00:17 +00:00
Jim Mock
dad13be17e Add bits needed for the quota section of the disks chapter. 2000-03-20 21:00:59 +00:00
Chris Costello
9a59860a1f Add an entry for fetch(1). 2000-03-12 06:50:10 +00:00
Andrey A. Chernov
5372e2895e Fix value of man.mount.msdos.8 entity
"mount.msdos" -> "mount_msdos"
2000-03-12 04:09:58 +00:00
Neil Blakey-Milner
f563d86a5b manual reference for chflags for miscellaneous cleanups in the handbook. 2000-03-11 19:30:16 +00:00
Alexey Zelkin
ef3c77dc32 Add bunch of entities required for future import of IPv6/IPsec related
handbook sections.
2000-03-10 22:41:32 +00:00
John Baldwin
66be53c66d Amend the section on wheeled mice in X to include a tutorial on installing
and configuring the imwheel port.  Also, add a man-ref entry for imwheel(1).

Reviewed by:	chris, jim
2000-03-09 05:52:04 +00:00
Neil Blakey-Milner
5d2e8b1141 Fix an obj error in the lint/validate target. 2000-03-08 11:21:37 +00:00
Neil Blakey-Milner
b34292794a Add necessary man page entities for users chapter 2000-03-08 11:17:59 +00:00
Nik Clayton
b8a86a79da Add entities for xmodmap(1) and lpd(8).
PR:             docs/16841
Submitted by:   Mark Ovens <mark@ukug.uk.freebsd.org>
2000-03-07 13:33:53 +00:00
Jim Mock
e5cc1d1296 Add the changes needed for the handbook to build correctly after my last
commit to the PPP and SLIP chapter.  Hopefully I caught my stupidity
before it tried to build and ended up failing.
2000-03-02 06:23:23 +00:00
Jim Mock
82843ed876 Add in the bits relevant to the closing of docs/15300. Without these the
build is broken.
2000-02-17 21:20:42 +00:00
Nik Clayton
67c7006408 Back out part of the previous commit; remove the code that generates HTML
expecting to find a docbook.css stylesheet file, which I committed a bit
too soon.

Pointed out by:	jim
2000-02-15 01:57:17 +00:00
Nik Clayton
fc766b7388 Add definitions for the osversionmin, osversionmax, and osversionin
attributes.  We don't use these yet, but they've been hanging around my
tree for ages, and it's time other people got to play with them.

Add (HTML) entity defs for lsquo and rsquo, ` and ' respectively.
2000-02-14 01:30:48 +00:00
Nik Clayton
0aa5ee0c69 Add "legalnotice" to the list of elements that are included on the title
page of articles.  This necessitates duplicating the entire list in the
customisation layer, which will need to be kept up to date as the master
stylesheets change.
2000-02-14 01:29:17 +00:00
Nik Clayton
811a3b7b1f Add system.3 and popen.3. 2000-02-14 01:17:34 +00:00
Jun Kuriyama
4182f5b9e7 Add NO_TIDY variable to disable tidy.
Tidy cannot handle EUC-JP codepoint range correctly with -raw option.
I will try to fix this problem, but temporary disable to use tidy in
Japanese Handbook and FAQ.
2000-02-03 03:10:43 +00:00
Warner Losh
5a833061e0 Add the latest security advisories. Also update the list of supported
versions.  I hope I did this right.
2000-02-01 07:05:34 +00:00
Nik Clayton
8be525f5f5 Allow DSLHTML and DSLPRINT to be overridden ("...=" -> "...?=").
Requested by:	Chris Costello
2000-01-24 20:02:50 +00:00
Jim Mock
b9951cd883 Add entry for pcm.4 which is needed for the updates made to
kernelconfig/chapter.sgml
2000-01-21 21:25:26 +00:00
Nik Clayton
120eb24177 Add definition for man.moused.8. 2000-01-19 22:42:15 +00:00
Neil Blakey-Milner
eaba090d03 Add rc.8 for the boot process description 2000-01-14 10:35:17 +00:00
Tim Vanderhoek
19bc141e0a Fix the more blatant grammar violations. Some sections of this document
could do with a more thorough manhandling, however.  :)
2000-01-02 19:23:21 +00:00
Nik Clayton
e4fb9fb481 Use w3m instead of lynx to format the text versions. It's table handling
is superior, and the various translation teams are fine with it.

Use iSilo instead of pilot-makedoc to produce Palm compatible files.  It
works from the HTML and retains the formatting (including the internal
links) making it much nicer to work with than the output from pilot-makedoc.
1999-12-24 01:25:27 +00:00
Chris Costello
b8b8695fbe Add ch(4) and chio(1) for dark secret FAQ rewriting project. 1999-12-23 18:35:12 +00:00
Jun Kuriyama
549131b114 Add "Synchronization Status" feature in Japanese web pages.
1. Add .sgml -> .revinc rule in web.mk.  This tells how to make SGML
   include file which contains revision information.

2. Add ja/revcheck script.  This script makes revision information
   from English SGML file and localized one.

3. Add *.revinc files into GENDOCS in localized Makefile.  This will
   generate *.revinc files from each *.sgml files.

4. Add %rev.diff entity into localized includes.sgml.

5. Add statement to include *.revinc for each *.sgml files.
   (this will be followed separately.)

Reviewed and not objected by:	Doc Team
1999-12-23 01:14:38 +00:00
Jeroen Ruigrok van der Werven
172e589c8f Add missing manual page entity for dd. 1999-12-17 21:25:44 +00:00
Nik Clayton
85eff2b01e Nuke this. It's been superceded by the doc.*.mk files. It should have
been wiped some time ago.
1999-12-14 16:54:32 +00:00
Nik Clayton
535b364c47 Experimental support for building Palm Pilot DOC format files. The result
works, but isn't great (at least in SmartDOC).  Still, if you want to carry
the FreeBSD FAQ on your Palm (or the Handbook for that matter) it's a start.

PR:             docs/13439
Submitted by:   Slaven Rezic <eserte@cs.tu-berlin.de>
1999-12-13 18:14:41 +00:00
John Baldwin
5b5e044611 Lots of freebsd -> FreeBSD fixes
PR:		docs/15382
Submitted by:	Alexander Langer <alex@big.endian.de>
1999-12-12 16:24:48 +00:00
Jun Kuriyama
61353e3474 I forgot to avoid keyword expansion... 1999-11-29 15:11:56 +00:00
Jun Kuriyama
6887a8b9bb Display "Last modified: 1999/10/30 10:01:58" line instead of
$FreeBSD$ tag.

Reviewed by:	Doc Team <freebsd-doc@FreeBSD.org>
1999-11-28 22:32:38 +00:00
Nik Clayton
9b0a980469 Add $FreeBSD$ comment.
Submitted by:   billf
1999-11-15 19:44:15 +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
Nik Clayton
d71066fb87 Knew I'd miss something. Add in entities for French <abstract> and
<artheader> elements.
1999-11-14 17:57:31 +00:00
Nik Clayton
212679edca Fix a typo in the French localisation of the stylesheets. 1999-11-10 20:32:58 +00:00
Jun Kuriyama
b813f148d7 Add missing ">" char. 1999-11-09 13:05:25 +00:00
Nik Clayton
ab3a40fe62 Change the invocation of tidy(1) in the index.html target to only update
the .html files that have been built, instead of all of them.  Fixes a bug
where "make FORMATS='html-split html'" would only update the split HTML
files.

Reported by:    Mark Ovens <mark@ukug.uk.FreeBSD.org>
Submitted by:   Neil Blakey-Milner <nbm@mithrandir.moria.org>
1999-11-01 19:41:02 +00:00
Alexey Zelkin
33fd5935c2 Ask jade(1) about additional META in header of Russian FAQ:
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">

Requested by: wosch
1999-10-31 22:13:58 +00:00
Alexey Zelkin
b9ae21e11c Typo fixes
Remove duplicated DOCDIR description in comments
1999-10-13 00:42:21 +00:00
John Baldwin
8e1a8ece3f A collection of man-ref entries needed for the NIS article, and also the
revamp of the fonts article.

PR:		docs/14193
Submitted by:	Neil Blakey-Milner <nbm@rucus.ru.ac.za>
1999-10-10 17:57:41 +00:00
Jesus Rodriguez Cuesta
f8da7adcf2 Fix handbook symlink install problem with old version installed
PR:		docs/14163
Submitted by:	nbm@rucus.ru.ac.za
1999-10-06 14:00:17 +00:00
John Baldwin
c2f66c7ff1 Add an entity for portlint(1) which is needed by the ports-specific
section of the committers' guide.
1999-09-29 02:09:42 +00:00
Nik Clayton
5aa7029e00 Added entities for
awk(1) date(1) gcc(1) grep(1) script(1) top(1) fastboot(8) ifconfig(8)
    sysctl(8)

Needed for the "make world" section.
1999-09-26 18:34:33 +00:00
Chris Costello
2d12b68cc7 Fix a title: `Table Of Content'' -> `Table of Contents'' 1999-09-22 21:54:16 +00:00
John Baldwin
58096a6429 Attack of the anal contraction police. "we'll" -> "we will". 1999-09-22 05:52:45 +00:00
Warner Losh
1eee3e63b3 Add pointers to recent security advisories
bugtraq moved from geek-girl to securityfocus
"will" -> "we'll" in evil dwarves warning.

Submitted by: "Keith R. Jarvis" <kjarvis@iss.net>
1999-09-22 02:15:24 +00:00
Wolfram Schneider
360dd95722 Use a conditional assignment "?=" when defining $CATALOG
Set variable $PREFIX
1999-09-19 11:56:18 +00:00
Jim Mock
250a692ba9 Added entity for gunzip. This is needed for the updated handbook entry in
docs/13605 that I'll be committing shortly.

Reviewed by:	nik
1999-09-10 00:51:29 +00:00
Wolfram Schneider
40231e0ef1 Use install opiton -C for installing files. 1999-09-09 17:11:28 +00:00
Jordan K. Hubbard
7c67a5f6bb Fix bogus mkstemp() reference.
Spotted by:	Jun Kuriyama <kuriyama@sky.rim.or.jp>
1999-09-06 22:51:27 +00:00
Peter Wemm
01a61279be $Id$,$Date$ -> $FreeBSD$
The jury is out on $Date$, but it's presently not being expanded..
1999-09-06 07:03:31 +00:00
Peter Wemm
5ff728b8ca $Id$ -> $FreeBSD$ 1999-09-06 06:53:43 +00:00
Nik Clayton
10922add2f Rudimentary support for <segmentedlist>. Just builds a table for the
entries, and works for HTML output only.
1999-09-03 17:12:43 +00:00
Nik Clayton
426ed372f6 New entities for make(1), rlogin(1), scp(1), ssh(1), ssh-add(1),
ssh-agent(1), ssh-keygen(1), and telnet(1).  Originally used in the
soon-to-be-added SGML'd committer's guide.
1999-09-03 17:09:02 +00:00
Nik Clayton
bd57358d83 Add a new FPI for the authors.ent file, so that it can be referenced
by different documentation.

Add 3 new FPIs for the French translations.  They're not in the tree
yet, but they will be soon.
1999-09-03 17:08:00 +00:00
Nik Clayton
7d4a994791 New make(1) infrastructure. Split out docproj.docbook.mk into a number
of smaller doc.<foo>.mk files, reflecting the functionality they contain.
Long overdue, kudos to the submitter for the carrying out the work.

Also makes the files independent of the system include files that
normally live in /usr/share/mk, making it easier for non-FreeBSD systems
to download and build our docs (an important factor in making it easier
to share our work with other projects).

Finally, it (in theory) lets you build the docs with a r/o doc/ directory.

Changes to the submitted files:

doc.docbook.mk    The HTML generation depends on ${DSLHTML}, and the
                  print generation depends on ${DSLPRINT}.  Changing
                  these files will force a rebuild (which makes testing
                  changes a little easier).

                  Removed ${DOC}.doc target.  It's a hangover from when
                  I (mistakenly) thought that Jade could generate MS Word
                  .doc files.

                  Added support for using compress(1) to build .Z files
                  (been on my todo list for ages).

                  Fixed a couple of typos.

Submitted by:   Neil Blakey-Milner <nbm@mithrandr.moria.org>
1999-09-03 17:07:19 +00:00
Jun Kuriyama
d71e7bfccf Invoke next command if "cd" succeeded.
Not objected by:	Doc Team
1999-09-03 14:01:15 +00:00
Nik Clayton
de9128a949 Define new LANGCODE variable, which should contain the language name
and encoding for the documentation that's currently being built (e.g.,
'en_US.ISO_8859-1', or 'es_ES.ISO_8859-1').  Used when building packages
to create part of the package file name.  Setting this involves an
'interesting' kludge -- suggestions for how better to achieve this within
make(1) welcomed.

package-*:
    No need to remove PLIST, it's always overwritten.

    Create empty COMMENT and DESCR files if they don't exist.  Makes it
    easier to test this, without committing COMMENT and DESCR files all
    over the tree.

    Use the ${LANGCODE} variable in the package name.  For example,
    the HTML pkg for the FAQ now looks like faq.en_US.ISO_8859-1.html.tgz,
    instead of just faq.html.tgz.
1999-08-28 09:50:49 +00:00
Nik Clayton
ee685fdd2c 1. Fix a subtle bug in the use of ${DOC}. If you ran make(1) and defined
${FORMATS} on the command line then it would assume that you wanted to
   build a document in the current directory, based on the setting of ${DOC}.
   If ${DOC} wasn't set, it defaulted to the name of the current directory.

   Any Makefile that includes this, and expects to have documentation built
   in the current directory must now explicitly define DOC.  All the current
   ones do anyway.  This should be a non-problem when docproj.docbook.mk is
   split out in to smaller, more modular files.

   Move the comments for DOC from the non-mandatory to the mandatory
   section.

2. Clarify the meaning of DESTDIR, it's changed a little bit since it was
   first documented.

3. Initial, tentative support for building pkg_* packages from the
   formatted documentation.  Needs work, but I've had the patch out for
   review for a couple of days, and no comments either way -- so if
   people hate it, this should at least spur them on to say so.

       # cd /path/to/doc/to/turn/into/a/package
       # touch COMMENT DESCR
       # make 'FORMATS=this that and the other' package

   to build 'n' packages, one per format.  "make install" is run as part
   of the package dependency, so this will overwrite documentation you
   have already got installed.

4. Remove DOC_INSTALL_PREFIX.  Should have been DOCDIR from the start.
1999-08-26 19:37:13 +00:00
Nik Clayton
e1302f8644 Remove the comment about <FAQList>, that's been obsoleted by DocBook 3.1.
Default to labelling questions with "Q:" and answers with "A:" when
processing <qandaset>s.  In the HTML output, render questions in a larger,
bolder font than the answers.  Requested by several people on -doc.

Default to numbering sections. Requested by one person on -doc, who
seemed somewhat confused that I hadn't read his mind and done this three
months previously.
cvs: ----------------------------------------------------------------------
1999-08-23 21:02:01 +00:00
Nik Clayton
92bf4933d5 Pull out the realinstall2 target. The code to do this is part of the
standard doc/ build, and can be turned on for all articles and books
as necessary.  What's more likely is that these files (.tar.gz of the
HTML, PS, and other versions) will be automatically generated and placed
on wcarchive, and linked to there instead.
1999-08-19 20:40:26 +00:00
Nik Clayton
c98917fd5d Use a conditional assignment "?=" when defining DOC_INSTALL_PREFIX 1999-08-19 00:07:09 +00:00
Nik Clayton
77ab53e851 "-chown" was falling over when ${FORMAT} == html-split. Move the "-" to
the surrounding "for" loop.
1999-08-18 18:46:58 +00:00
Nik Clayton
7fc8947ce8 The new Makefile framework. Does the right thing (pretty much) except
in the case of */FAQ/Makefile, because the FAQs are all in the wrong
place.  Things still install properly, but some of the directory paths
are hardcoded.  This will be going away ASAP.
1999-08-16 22:09:20 +00:00
Nik Clayton
28ded3fede Add DESTDIR and DOC_INSTALL_PREFIX variables.
Pull in ../Makefile.inc if it exists.

Don't use install(1), use cp(1), chmod(1), and chown(1).  That way non-root
users can install the files without install(1) complaining about the
inability to change the owners.

Nuke the "distribute" target.  We don't need it where we're going. . .
1999-08-16 21:08:12 +00:00
Nik Clayton
537037f404 Make ${INSTALL_COMPRESSED} and ${INSTALL_ONLY_COMPRESSED} truly optional.
PR:             docs/12978
Submitted by:   John Baldwin <jobaldwi@vt.edu>
1999-08-05 20:22:49 +00:00
Nik Clayton
e9b420e0d1 D'oh. Add refs for loader.conf(5), boot(8), and loader(8), required
by the recently committed "Serial Console" section.  I had these in my
local tree, and they slipped off my "list of things to commit" somehow.

Prompted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1999-07-28 07:27:59 +00:00
Nik Clayton
a826cfbdf3 Add entries for gzip(1), lndir(1), uname(1), execve(2), crypt(3),
cvsupd(8).
1999-06-07 22:33:12 +00:00
Nik Clayton
6dd20feada Change ${DOCBOOKCATALOG} to point at the master catalog for all the
DocBook DTDs, not just the 3.0 one.
1999-06-03 19:39:29 +00:00
Nik Clayton
078cacb295 Switch to using DocBook 3.1. Pull out the FreeBSD specific FAQList*
elements, they are obsoleted by the DocBook QAndASet element (and
sub-elements).
1999-06-03 19:37:49 +00:00
Nik Clayton
73d9f92018 Change the FPI to show this is now a DocBook 3.1 based extension. 1999-06-03 19:35:48 +00:00
Bill Fumerola
35c9348ef7 Add FreeBSD 3.{1,2} and remove FreeBSD 3.0 and FreeBSD 2.2.7 out
of the supported security advisory page.

Also, make a grammar change and a sgml nit while I'm here.
1999-05-31 01:30:40 +00:00
Nik Clayton
ef198ce9f1 Be smarter about setting DOC_PREFIX to /usr/doc. Only do it if
/usr/doc/share/mk/docproj.docbook.mk exists.  Otherwise, warn the
user they need to set it, and exit.
1999-05-18 17:51:40 +00:00
Jesus Rodriguez Cuesta
7293b4083d Show pkg_add(1) and pkg_create(1) instead pkg.add(1) and pkg.create(1)
Added entry for pkg_delete(1).

Submmitted by: cjc@cc942873-a.ewndsr1.nj.home.com
Right patch by: chris@calldei.com
1999-05-15 16:25:25 +00:00
Nik Clayton
33837abfa5 Added a validate target to check that the SGML markup is valid without
the overhead of running Jade.

Added an ${EXTRA_CATALOGS} variable if your document needs to be
processed with additional SGML catalogs (currently not used by anything,
but might be some day).

Switched the meaning of ${JADEFLAGS} and ${JADEOPTS} for consistency.  All
user-tweakable program options now match ${*FLAGS}.
1999-05-05 20:16:46 +00:00
Nik Clayton
c70f469739 Added many comments explaining what this file is and what it should
contain.

Define an FPI for ../../en/share/sgml/bookinfo.ent.  Explain how to add
other language specific FPIs.
1999-05-05 20:14:34 +00:00
Joseph Koshy
7c0fa1b1fd Add an entity for ppp(8). 1999-05-04 05:12:09 +00:00
Nik Clayton
b796c77807 Add a definition for &man.lynx.1; 1999-04-29 19:50:18 +00:00
Nik Clayton
c2fe04683c Special case docproj-primer when installing. 1999-04-27 18:31:42 +00:00
Jun Kuriyama
8bdee18bd8 Add ${TIDYFLAGS} to use -raw option for building Japanese handbook. 1999-04-20 15:58:36 +00:00
Nik Clayton
ed34512f59 Includable Makefile, contains most of the logic for converting DocBook
into a variety of different formats.  Contains a lot of code that used
to be in doc/en/handbook/Makefile, the commit log for that file will
probably prove useful as well.
1999-04-14 22:13:59 +00:00
Nik Clayton
5dffdeac60 Add some more references to manual pages. Not yet used by Handbook,
but soon to be committed docs use them.
1999-04-12 22:22:21 +00:00
Jun Kuriyama
663cd139b5 Add hack for building Japanese handbook. 1999-04-11 00:43:53 +00:00
Nik Clayton
801f4168eb Support building the ports pages without a local copy of the ports CVS
tree.  Define NOPORTSCVS to make this happen.

Submitted by:  Tom Hukins <tom@eborcom.com>
PR: docs/10099
1999-04-08 21:50:03 +00:00
Jun Kuriyama
fad371fe20 Add temporary option %lang.ja.dsssl;.
Current version of dsssl-docbook-modular has Japanese option, but
this doesn't satisfy our needs.
Until I write a patch, Japanese stylesheet should be off.
1999-04-08 14:17:50 +00:00
Nik Clayton
46ad10792f Hmm. I already committed this remotely, it doesn't seem to have 'stuck'.
Explicitly set %lang.ja to "IGNORE", it will need to be turned on with
something like

    jade -ilang.ja ...
1999-04-05 17:24:40 +00:00
Nik Clayton
a49230e352 Remove old hack to indent verbatim environments, and use new, Norm Walsh
sanctioned hack to indent verbatim environments :-)

Explicitly turn off formatting a <variablelist> as a table, it's still
buggy.

Rename "usen-*" to "en-*", as the usage changed in the underlying
stylesheets.  The leader to a <warning> or <caution> should now have
the ":" in the correct position.
1999-04-04 17:08:20 +00:00
Jun Kuriyama
b859c3ea6b Add Japanese specific definitions. 1999-04-04 15:33:23 +00:00
Wolfram Schneider
d80a1ee97f Don't build the PostScript format. The teTeX-beta port is currently broken.
Only the english handbook was converted to DocBook, the
japanese handbook is still in linuxdoc.
1999-04-02 22:06:58 +00:00
Nik Clayton
2c32476628 Change some of the targets to cater for the DocBook Handbook. The
"FORMATS" spec has changed, but the majority of stuff still uses LinuxDoc.
Special case the Handbook where necessary.
1999-03-27 15:46:31 +00:00
Nik Clayton
3a6361c32c The Handbook conversion has changed the names of some of the generated
HTML files (not all of them, just some of them).

Fix up the broken references to point to the correct files.

This has not touched the release notes in releases/*/*.  I'm not sure
whether they should remain as historical record of what was shipped or
not.  About 5 of them now have a couple of broken links each, which will
be trivial to fix.
1999-03-27 15:43:51 +00:00
Nik Clayton
62a7d13816 Created a new set of entities for manual pages.
The construct:

    <citerefentry>
      <refentrytitle>foobar</refentrytitle>
      <manvolnum>1</manvolnum>
    </citerefentry>

is a pain to type, and messes up the pretty-printing of the source code.
Replace every occurence of a entry like that with:

    &man.foobar.1;

Adjusting the manual page name and section number appropriately.

The definitions for these entities are stored in man-refs.ent. This
file is in doc/share/sgml because it is not just specific to the Handbook.
I expect the DocBook'd FAQ and Tutorials (coming RSN) to use them as
well.

A new PUBLIC identifier has been created for these entities, and added to
the catalog file.
1999-03-07 16:32:22 +00:00
Nik Clayton
6c56672923 Removed the reference to handbook.css, that shouldn't be in there yet.
Turned html-manifest from #t to #f. This can be set to #t via an option
to jade(1), but the reverse is not true.
1999-01-27 23:29:14 +00:00
Wolfram Schneider
e3289d3f44 http://www.freebsd.org/security/security.html#ml states that there is
a mailing list named ``freebsd-security-notification''.  it should say
``freebsd-security-notifications'' (with a trailing `s').
Submitted by:	Linus Nordberg <linus.nordberg@canit.se>
1999-01-26 18:40:51 +00:00
Nik Clayton
99901d638a Move doc/sgml/* to doc/share/sgml/*, so it better follows the layout of
Doc. Proj. related ports under $PREFIX/share. Update en/handbook/Makefile
with the new paths.

Didn't seem worthwhile to do a repository copy for only three files moved.
1999-01-25 21:58:59 +00:00
Jordan K. Hubbard
7e6229e0d5 Bring in the new security guide.
Submitted by:	jkb
1998-12-19 09:55:30 +00:00
Steve Price
63614d0225 Add a trailing slash to http URLs - some required and some just for the
sake of consistency.

PR:		8038
Reviewed by:	wosch
1998-12-13 23:19:33 +00:00
Wolfram Schneider
db3aa73031 Added SecurityPortal.com to links section.
Submitted by: Jim Reavis <jreavis@aistrat.com>
1998-11-15 16:23:09 +00:00
Jun Kuriyama
ad14b5b1de Fix typo. 1998-11-14 16:50:26 +00:00
Wolfram Schneider
a7d4d2ef26 Fix URL of The COAST Security Hotlist
Submitted by: Bruce Campbell <bc@thehub.com.au>
1998-10-21 14:29:44 +00:00
Wolfram Schneider
692913c8c6 Test file name before makeing a tar archive. 1998-09-13 21:43:20 +00:00
Wolfram Schneider
405477f28f Fix URLs. 1998-08-09 23:02:19 +00:00
Jordan K. Hubbard
1c30164c1d Clean up this page a bit and deal with stuff missed in the first review. 1998-07-24 08:34:18 +00:00
Wolfram Schneider
a2e812510f Do not override _ALLINSTALL variable. 1998-07-23 10:59:00 +00:00
Wolfram Schneider
fcbb5212c8 Fix CERT URLs.
Submitted by:	 yossman <yossman@yoss.nonline.net>
1998-06-23 22:42:14 +00:00
Wolfram Schneider
80d71116c1 The new FreeBSD Security homepage.
Submitted by: guido
1998-06-19 09:46:53 +00:00
John Fieber
de98576424 In the process of re-constructing the FreeBSD web site automatic-update,
clean up the build process a wee bit.

The basic change: instead of cheacking out bits and pieces of the
doc tree into the web build tree, check out the doc tree somewhere
else and put in a few symlinks from the web tree to the doc tree.

On catfish (soon to be hub) for example:

  /usr/local/www/build/doc/...
  /usr/local/www/build/www/...

where

  /usr/local/www/build/www/data/handbook -> ../../doc/handbook

You have to manually put in the symlinks at the moment, but it
works better than the evil CVS hackery.

Also, install with -C to help avoid gratuitous cache-busting due to
gratuitous timestamp twiddling.
1998-01-18 22:27:43 +00:00
Brian Somers
4f1a28d335 Put all .html files into $entry-html.tar.gz
rather than skipping the sym-links.
1997-11-11 15:09:24 +00:00
John Fieber
17d40038ae Use the newly added html dtd port instead of referencing the
copy of the DTD where I just happen to keep it on freefall.
1997-09-19 21:35:54 +00:00
John Fieber
c8eda81425 Install things with a group of www and group writable. 1997-03-11 15:12:30 +00:00
John Fieber
8d3fe816ab Pass ${SGMLOPTS} to sgmlfmt when transforming docbook files. 1997-01-19 21:29:03 +00:00
John Fieber
1ddc8be9ed Add a rule to handle docbook files (.docb). 1997-01-18 02:25:01 +00:00
John Fieber
c631979f12 Only check things out of the cvs repository during a build unless they don't
already exist.  Basically, assume that any updating from the repository
has been done before the build.
1996-10-24 23:33:43 +00:00
John Fieber
63f3fa9182 Wire up the new sgmlfmt options. 1996-10-06 00:08:28 +00:00
John Fieber
a2832b8a22 For directories with linuxdoc docs (eg handbok, faq), make an index.html
symlink to the appropriate file after installing.
1996-10-01 23:41:29 +00:00
John Fieber
834cec1450 Remove batchssi rubbish. 1996-09-28 23:18:10 +00:00
John Fieber
b7e2624132 Fetch the handbook and FAQ from the cvs repository before trying to
build them.
1996-09-25 16:00:32 +00:00
John Fieber
a2bbea0b60 Make it so ports/INDEX is updated from cvs before generating
the ports pages.
1996-09-24 18:56:21 +00:00
John Fieber
38df6f51c6 Web pages, may I introduce you to CVS. CVS, these are the web pages.
Yes, this is supposed to be a new top level in the repository.

For the moment any changes to this area must be cleared by myself
or Jordan.  Once the kinks are worked out, the policy will probably
be relaxed.
1996-09-24 17:46:04 +00:00