aboutsummaryrefslogtreecommitdiff
path: root/share/mk/doc.project.mk
Commit message (Collapse)AuthorAgeFilesLines
* www cleanup mega commit:Hiroki Sato2006-08-191-0/+1
| | | | | | | | | - Clean up XML dependency set. - Add "make lint" for validation. Notes: svn path=/head/; revision=28472
* Move build targets for book.{ps,pdf} of the handbook to the LI part.Hiroki Sato2006-04-171-0/+1
| | | | Notes: svn path=/head/; revision=27569
* Add JADETEX_PREPROCESS and PDFTEX_PREPROCESS for pre-processingHiroki Sato2006-04-071-0/+2
| | | | | | | TeX file. Notes: svn path=/head/; revision=27496
* Introduce doc.xml.mk and XMLDOCS variable to simplify buildHiroki Sato2005-09-181-0/+3
| | | | | | | of XML docs. Note that XML catalog support is still incomplete. Notes: svn path=/head/; revision=25680
* Add a comment that explains why ${PREFIX}/share/texmf-dist/LICENSE.texmfHiroki Sato2005-02-201-0/+6
| | | | | | | | | should be checked. Suggested by: simon Notes: svn path=/head/; revision=23839
* Add teTeX 3.0 support. This change should fix the "Fatal format fileHiroki Sato2005-02-201-1/+6
| | | | | | | | | | error; I'm stymied" problem when $FORMATS is specified as "dvi", "ps", and/or "pdf". Spotted by: marck Notes: svn path=/head/; revision=23837
* Set the default line width for FORMATS="txt" to 72 columns. This fixes,Giorgos Keramidas2005-01-101-1/+1
| | | | | | | | | | after a very long time, the problem described in: PR: docs/41791 Submitted by: Jerry Dunham <jdunham@m3designinc.com> Notes: svn path=/head/; revision=23505
* Add definitions required for using SAXON instead of libxslt whenMurray Stokely2004-09-071-0/+2
| | | | | | | | | | USE_SAXON is set. This doesn't quite work yet. Also fix a bug in the .fo target that was uncovered when slides for a presentation are split across multiple XML files. Notes: svn path=/head/; revision=22262
* Add support for using FOP or XEP as an XSL-FO backend via USE_* makeMurray Stokely2004-09-041-0/+2
| | | | | | | | variables. PassiveTeX is pretty limited and so the other formatters give the stylesheets more functionality to create nice slides. Notes: svn path=/head/; revision=22239
* Add support for building documents in our doc/ tree marked up inMurray Stokely2004-09-021-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Norman Walsh's DocBook Slides DTD. This DTD offers the vocabulary of simplified DocBook for presentations. Initially, the supported output formats are PDF and HTML. XSL stylesheets are used so libxslt is required. PassiveTeX is used for the PDF generation to convert the XSL-FO directly to PDF. This commit moves various TeX definitions out of doc.docbook.mk and into doc.project.mk, since docbook is no longer the only back-end to utilize TeX. An example Makefile would look like : ---- DOCFORMAT= slides DOC= slides SRCS= slides.xml DOC_PREFIX?= ${.CURDIR}/../../.. .include "${DOC_PREFIX}/share/mk/doc.project.mk" --- And an example slides file (slides.xml) looks like : --- <!DOCTYPE slides PUBLIC "-//Norman Walsh//DTD Slides XML V3.3.1//EN" "http://docbook.sourceforge.net/releases/slides/3.3.1/slides.dtd"> <slides> <slidesinfo> <title>What's new in FreeBSD 5.3</title> <titleabbrev>FreeBSD 5.3</titleabbrev> </slidesinfo> <foil><title>Introduction Slide</title> <para>Content</para> </foil> </slides> --- You could then build the HTML and PDF versions of the slides by typing "make FORMATS='pdf html'". Enjoy. Please coordinate with doceng@ before importing any presentations to doc/. Notes: svn path=/head/; revision=22212
* XSLTPROC and TIDY are not specific to either DocBook or HTML formats,Murray Stokely2004-09-021-0/+2
| | | | | | | | so move the associated variables to doc.project.mk instead of duplicating the definitions for each doc type. Notes: svn path=/head/; revision=22210
* - When <langcode>/share/mk/doc.local.mk exists, it will be includedHiroki Sato2004-08-091-0/+6
| | | | | | | | | | | | | just after doc.common.mk included. This can be used for various language specific customizations. - Remove SP_ENCODING_LIST. Translators should define the SP_ENCODING variable directly in their doc.local.mk when it is needed. Discussed with: den Notes: svn path=/head/; revision=21883
* Remove trailing whitespaces.Hiroki Sato2004-07-231-2/+2
| | | | Notes: svn path=/head/; revision=21641
* Fix a build problem when print/ghostscript-afpl is used:Hiroki Sato2004-07-231-0/+9
| | | | | | | | | | - epsgeom+gs now converts EPS files. graphics/peps is no longer used. - Add $PERL, $REALPATH, and $SETENV into doc.project.mk. Tested by: simon Notes: svn path=/head/; revision=21640
* Add refinements on mirrors.xml:Hiroki Sato2003-11-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | - add doc.common.mk, which defines variables, targets, and dependencies commonly used in www/ and doc/. - move www/<lang>/includes.xsl to the language independent directory and split into several files. - add transtable*.xsl and transtable.xml to support localized mirror names. - make doc/{en_US.ISO8859-1,ja_JP.eucJP}/books/handbook/ use mirrors.xml (mirrors and eresources). - make www/{en,ja}/index.xsl use mirrors.xml. For details, please see doc/share/sgml/README.mirrors for the moment. Reviewed by: simon and Alex Dupre <sysadmin@alexdupre.com> Notes: svn path=/head/; revision=18976
* Remove -p option from ${MKDIR} definition to avoid redundancy (optionsMarc Fonvieille2003-08-011-1/+1
| | | | | | | | | | should be specified out from the variable definition). PR: docs/54422 Submitted by: Lukas Ertl <l.ertl@univie.ac.at> Notes: svn path=/head/; revision=17732
* www/links1 is sufficient to dump HTML to text for all cases, so weMurray Stokely2003-05-041-1/+1
| | | | | | | | don't need to use w3m here. Move HTML2TXT definition from doc.html.mk to the global doc.project.mk. Notes: svn path=/head/; revision=16778
* Add an ispell-based "spellcheck" target to the doc buildMurray Stokely2003-05-041-0/+4
| | | | | | | | | infrastructure. Sponsored by: FreeBSD Mall, Inc. Notes: svn path=/head/; revision=16769
* Netscape 4.X does not support the '@import' directive in CSSMurray Stokely2002-02-251-0/+1
| | | | | | | | | | | stylesheets. To get around this, append the filename specified in the 'CSS_SHEET_ADDITIONS' variable (if defined) to the end of the default CSS stylesheet. This allows us to add document-specific stylesheet rules while still supporting braindead browsers and reusing the default CSS code. Notes: svn path=/head/; revision=12281
* Add a declaration missing from the last commit.Murray Stokely2001-10-291-0/+1
| | | | Notes: svn path=/head/; revision=11068
* Make build/install /usr/obj prefix clean.Murray Stokely2001-10-291-4/+11
| | | | | | | | | | | Also fix several minor bugs here, such as leftover files not being deleted after 'make clean'. PR: docs/31131 Submitted by: Cyrille Lefevre <clefevre@citeweb.net> Notes: svn path=/head/; revision=11066
* ISO_* -> ISO* renameAndrey A. Chernov2001-06-111-2/+2
| | | | Notes: svn path=/head/; revision=9587
* Honour $LOCALBASE when setting $PREFIX.Nik Clayton2001-03-131-3/+4
| | | | | | | | PR: docs/25496 Submitted by: Mike Meyer <mwm@mired.org> Notes: svn path=/head/; revision=8992
* Add a comment to sync this with my local repository.Nik Clayton2000-10-081-1/+3
| | | | Notes: svn path=/head/; revision=8113
* a) "Fix" out-of-tree builds by not hard-coding locations of dsl filesNeil Blakey-Milner2000-09-281-2/+3
| | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=8040
* Fix the handling of unsupported formats (like "html-split") in doc.html.mk.Nik Clayton2000-07-231-1/+6
| | | | | | | | Output a non-fatal warning for these. For unknown formats output a fatal error. Notes: svn path=/head/; revision=7701
* Pull in doc.images.mk as necessary.Nik Clayton2000-07-161-1/+3
| | | | | | | | Also pull in doc.html.mk when DOCFORMAT==html, something I missed from an earlier commit. Notes: svn path=/head/; revision=7626
* 1) Use non-relative path to the DSL location, which makes externalNeil Blakey-Milner2000-07-141-1/+4
| | | | | | | | | | document building work again. 2) Add support for building html documents, which is required for ipsec-must document. Notes: svn path=/head/; revision=7604
* $Id$ -> $FreeBSD$Peter Wemm1999-09-061-1/+1
| | | | Notes: svn path=/head/; revision=5542
* New make(1) infrastructure. Split out docproj.docbook.mk into a numberNik Clayton1999-09-031-0/+74
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> Notes: svn path=/head/; revision=5500