Subject: CVS commit: htdocs/share/mk
To: None <www-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: www-changes
Date: 07/29/2006 09:55:39
Module Name:	htdocs
Committed By:	rillig
Date:		Sat Jul 29 09:55:39 UTC 2006

Modified Files:
	htdocs/share/mk: web.prefs.mk web.site.mk
Added Files:
	htdocs/share/mk: web.xml.mk

Log Message:
Added a user-defined variable DEBUG_LEVEL, which works like the pkgsrc
variable PKG_DEBUG_LEVEL.

Added a user-defined variable RUN (with sensible system-provided default
value) that is prepended to most of the commands that formerly started
with an '@' character. This allows the htdocs user to easily see what
happens behind the scenes. Additionally, it switches the shell to "set
-e" mode, which prevents unexpected behavior after one shell command has
failed.

Added two variables ERRORS and WARNINGS, to which errors or warnings may
be appended. Each such error or warning must be a single shell word and
is usually enclosed in double quotes. This is modelled after pkgsrc's
PKG_FAIL_REASON.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 htdocs/share/mk/web.prefs.mk
cvs rdiff -r1.46 -r1.47 htdocs/share/mk/web.site.mk
cvs rdiff -r0 -r1.1 htdocs/share/mk/web.xml.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.