Commit graph

5182 commits

Author SHA1 Message Date
Nik Clayton
3197343458 Support images in the documentation.
For producing text-only docs, we need to have a second HTML target.

The PS and PDF targets (which depended on a .tex file) have been split
out so that they each depend on their own .tex-${format} file, to get
the image formats correct.
2000-10-08 19:19:09 +00:00
Nik Clayton
107896244a Initial support for images within the documentation. Support EPS and PNG
format images.  Assume that ImageMagick has been installed -- this is a
big requirement, and will be refined before this gets much further.
2000-10-08 19:17:42 +00:00
Nik Clayton
4d20c32be9 Add a comment to sync this with my local repository. 2000-10-08 19:16:32 +00:00
Nik Clayton
749c7f2deb Initial image support. 2000-10-08 19:15:54 +00:00
Nik Clayton
895a6d904c Reorganise things a little bit.
Redefine two functions in <[ %output.print; [ ... ]]> to support image
handling.
2000-10-08 19:15:06 +00:00
Neil Blakey-Milner
a15fa475b5 Make 'make lint' work again. Obviously no-one uses it. (:
(I forgot to set NSGMLS)
2000-10-07 16:31:04 +00:00
Kris Kennaway
f250cf832b Add advisories 00:52 and 00:53 2000-10-06 23:05:57 +00:00
Jun Kuriyama
73fab30f43 Remove ${.TARGET} if .sgml.html implicit rule failed.
Reviewed by:	nbm
2000-10-04 09:39:46 +00:00
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