#-----------------------------------------------------------------
-# MAKEFILE VARIABLES FOR RELEASE BUILDS
+# -*- makefile -*- snippet with VARIABLES FOR RELEASE BUILDS
#-----------------------------------------------------------------
# If you are doing normal (non-release) sandbox builds just for
# your own use, you can ignore all the variables below. They are
# used only when doing release builds.
#-----------------------------------------------------------------
+# $Id$
+
# stylesheet for generating release notes
DOC-LINK-STYLE=$(DOCBOOK_CVS)/xsl/docsrc/doc-link-docbook.xsl
# remove dots from version number to create CVS tag
TAGVER := $(shell echo "V$(RELVER)" | sed "s/\.//g")
-# to use a temp directory other than /tmp, run "make zip TMP=/foo"
-# or "make zip TMP=$TMP to override following setting
+# if TMP is already defined in the environment, build uses that as
+# location for temporary storage for files generated by "make
+# zip"; otherwise it defaults to /tmp. To use a temp directory
+# other than /tmp, run "make zip TMP=/foo"
+ifeq ($(TMP),)
TMP=/tmp
+endif
# value of ZIP_EXCLUDES is a space-separated list of any file or
# directory names (regular expressions OK) that should be excluded