Commit graph

86 commits

Author SHA1 Message Date
Jun Kuriyama
72cdb6280f Nuke revcheck script. This script is obsoleted by prehtml. 2000-11-22 02:35:42 +00:00
Jun Kuriyama
37f0d94606 Switch to use WEB_PREFIX at REVCHECK=YES condition. 2000-11-07 11:39:40 +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
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
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
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
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
Wolfram Schneider
360dd95722 Use a conditional assignment "?=" when defining $CATALOG
Set variable $PREFIX
1999-09-19 11:56:18 +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
Jun Kuriyama
d71e7bfccf Invoke next command if "cd" succeeded.
Not objected by:	Doc Team
1999-09-03 14:01:15 +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
c2fe04683c Special case docproj-primer when installing. 1999-04-27 18:31:42 +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
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
Wolfram Schneider
692913c8c6 Test file name before makeing a tar archive. 1998-09-13 21:43:20 +00:00
Wolfram Schneider
a2e812510f Do not override _ALLINSTALL variable. 1998-07-23 10:59:00 +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