releases mentioned in the web site documents. Currently these map to
the following numbers:
&rel.head.major; 6
&rel.current.major; 5
&rel2.current.major; 4
clean up the previous hack. Now we can redefine the following
parameters in the localized includes.xsl:
<xsl:param name="param-l10n-date-format-YMD" select="'%D %M, %Y'" />
<xsl:param name="param-l10n-date-format-YM" select="'%M %Y'" />
<xsl:param name="param-l10n-date-format-MD" select="'%D %M'" />
news items and putting them into the localized web pages.
If the translation is available it will be used, otherwise
the original (English) version of the news item will be used.
- Removing the announcement links for the 5.X and the 4.X releases.
- Point the title link for the 5.X release to the
announcement, as it is already the case for the 4.X release.
- Only show the 5 first items from the project news and the press
sections.
Reviewed by: hrs
these cases we get urls like 'http://www.FreeBSD.org///ru//java/', etc.
On such urls webcheck fails immediately with 403 error code. So, cleanup
multiple slashes.
. Make 'checkmissing' output more compact and readable. Avoid
printing '===>' in case if current directory does not have anything
to report. Also print each missing entry on separate line to make
output more readable.
instead of ${.CURDIR}
. Add 'obj' target depending on _PROGSUBDIR, so 'make obj' for web tree
is processed recursively for SUBDIRs
. Remove 'cleandir' target. bsd.obj.mk declares it unconditionally and
it does absolutely same things. Removing of target from this makefile
reduces spawning of ${MAKE} by factor *6* when called from 'www/en'
directory!
. Move variable declarations from suffix transformation declaration area
to appropriate place
. Move spellcheck target to place where it belongs
. Fix/add some comments
. remove unused (ever used?) docb -> html suffix transformation rule
. remove long time unused ${LOCAL}. It's handled with ${DATA} now.
. extend comment to be more clear
. fail build if ORPHANS check failed. I.e. fail as early as possible.
. remove DIRS_TO_CLEAN related workaround (unused since 2001)
. rewrite "cleandir" target to be more consistent with /usr/share/mk
. remove DOCSUBDIR related logic. Last consumer of this logic (www/zh/FAQ)
was converted to use new methods, so no need to leave this spam
PS: It removes more than 30% of actual logic of this makefile