Commit graph

13 commits

Author SHA1 Message Date
Wolfram Schneider
a6c77942cd support `make po' for sub-directories
PR: 222944
2017-10-12 14:14:41 +00:00
Bruce A. Mah
c90f3cf5c0 Eliminate duplicate traversal of directories in realinstall target.
This change eliminates O(2^N)-1 passes through the individual documents,
where N is the number of levels of directory hierarchy.  For a
"make install" from the top level of the doc/ tree, files corresponding
to individual documents were being installed eight (!!!) times.

Reviewed by:	trhodes, Szilveszter Adam
2006-11-09 04:23:14 +00:00
Hiroki Sato
36a03b0c94 Fix COMPAT_SYMLINK for ja_JP.eucJP.
Spotted by:	simon
2005-10-05 13:57:35 +00:00
Tom Rhodes
3d8fe4fa43 Quiet a few make warnings by adding a few .if statements.
bsd.obj.mk already includes bsd.subdir.mk so there is no need
to include it twice.

PR:		52540
Submitted by:	"Simon L.Nielsen" <simon@nitro.dk>
Tested with:	cd doc/ && make
2003-05-21 21:16:10 +00:00
Alexey Zelkin
987c1c8bed Add new make target 'cleanall'. Its responsibility is to remove *all*
possible generated files (make clean is called for all known formats).

It can be useful when default FORMATS for document has different value
than was used in build.

Reviewed by:	nik
2001-12-13 23:51:26 +00:00
Murray Stokely
4ffcb3417b Make the TIDYFLAGS/TIDYOPTS usage homologous to the rest of the make
variables in the doc infrastructure.  Fixes several small bugs.

PR:		docs/31703
Submitted by:	Akio Morita <amorita@FreeBSD.org>
2001-11-05 10:33:38 +00:00
Murray Stokely
f92319a1b1 Make build/install /usr/obj prefix clean.
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>
2001-10-29 09:21:53 +00:00
Dima Dorfman
8140e08d69 Bump the number of directories traversed to find LANGCODE to 10. This
isn't a problem yet, but I did run into it in my local builds a few
times, and I thought it'd be better to raise it now to make sure
nothing magically breaks later.

Silence by:	-doc
2001-05-22 03:18:38 +00:00
Nik Clayton
324f84d204 LIB_IMAGES -> IMAGES_LIB, to be consistent with IMAGES_PNG and IMAGES_EPS
Extend the image support.  Now handles the "install" part for HTML, PS, and
PDF, as well as packaging.

Better support for images in the PDF output.  I'm still trying to figure out
how to get good quality PDF from EPS source though.
2000-10-29 02:39:10 +00:00
Nik Clayton
69a59546e0 Make sure the LOCAL_LIB_IMAGES_DIR directory is cleaned appropriately. 2000-07-16 16:34:08 +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
Peter Wemm
5ff728b8ca $Id$ -> $FreeBSD$ 1999-09-06 06:53:43 +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