this was that 'SGMLFLAGS' had to be changed to 'XMLFLAGS' in
share/mk/doc.docbook.mk so that everything continued to build OK.
Approved by: gabor (mentor)
www.freebsd.org/security/{advisories,patches}/...
from the en_US.ISO8859-1 directory as we do for logos, etc.
The magic is a bit special to avoid having to add each advisory
or errata notice, and their patches and signatures individually.
Factor out the slightly different to bsd.links.mk SYMLINKS
support as well as the "bulk data install" that cannot be
handled by just DATA as (i) the input dir differs, (ii) input
uses a 1 or more level of sub-directories.
This is the second of three steps. The last one will be to link
to these files locally rather than to security.freebsd.org.
Approved by: gabor
The web build uses WEBGRP and CGIGRP to determine group ownership
during the build phase. When left unset, the default group is 'www'.
The problem is that if $USER is not in group 'www', the build will
fail due to lack of permissions via chgrp(1).
This change sets default values for WEBGRP and CGIGRP to $USER, unless
explicitly set during build time to prevent chgrp(1)-invoked build
failure.
Note: This change has no effect for users currently setting WEBGRP
and CGIGRP, either via command-line or within scripts.
Reviewed by: -www@ (silence)
time on the bottom of each page:
Last modified: 2010/05/09 21:07:40
Since the move to Subversion, the $FreeBSD$ string is slightly different
and so the code that does this no longer works correctly, causing the
output appears as:
Last modified: 38826 2012-05-17
Arguably, having the SVN revision number in the output is useful,
however this wasn't intentional - and instead appears to be an
oversight.
This change both fixes the missing date and adds extra information,
producing the following output:
Last modified: 2012-05-17 19:12:14Z
(head/en_US.ISO8859-1/htdocs/internet.sgml r38826)
Adding the path to the source file will hopefully make it much easier
for people wishing to contribute to the page to find the source
Approved by: bcr (mentor)
M mk/web.site.mk
- Move files under <lang>/htdocs/share to <lang>/share.
- s/WEB_PREFIX/DOC_PREFIX/
- Update the webupdate script to use the SVN repository.
Approved by: doceng (implicit)
result of <script> end tag by the DSSSL stylesheet was </script\n> to avoid
unnecessary spaces after the tag, most of the www browsers and HTML
processors cannot recognize it as the end of <script>. To workaround this,
($user-html-headers$) now outputs the start and the end tag independently
in each single line.
- Add %html-header-script% to control if <script> is included in <head>.
- Add html.header.script.google knob for SGML and XML documents in non-DocBook
DTD. %html.header.script.google; and $html.header.script.google.
- Add WWWFREEBSDORG make(1) knob to control the <script> inclusion. Note that
<script> is disabled temporarily.
Discussed with: gjb and core
Tested by: gjb
The ps2epsi.ps file in Ghostscript 8.70 requires %%BoundingBox line
exists in the output EPS file *before* the conversion while the older
versions calculated it from the PS file and output the line during the
conversion.
Approved by: doceng (implicit)
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
activate it instead of using a static &base;. Since an .xml database file
(or an .xslt stylesheet file) is used from various directories, the static
&base; no longer works.
PR: www/102331
- Add NO_{TEX,PLAINTEXT,RTF} and NO_{TEX,PLAINTEXT,RTF}_LANG knobs not to
build or install broken files[*].
Suggested by: alex.istra at rambler dot ru[*]