From: Michael Smith Date: Wed, 6 Apr 2005 10:46:32 +0000 (+0000) Subject: TMP dir, default to environment setting for TMP if set X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a63405266e4aecb990735db5f5384c36a150918;p=docbook-dsssl TMP dir, default to environment setting for TMP if set --- diff --git a/cvstools/Release-targets.mk b/cvstools/Release-targets.mk index 1602f2fbc..65dd0387f 100644 --- a/cvstools/Release-targets.mk +++ b/cvstools/Release-targets.mk @@ -1,6 +1,8 @@ # this file is a -*- makefile -*- snippet # targets in the file are used only for release builds +# $Id$ + RELEASE-NOTES.html: RELEASE-NOTES.xml $(XJPARSE) $< $(XSLT) $< $(DOC-LINK-STYLE) $@ diff --git a/cvstools/Release-vars.mk b/cvstools/Release-vars.mk index 2a569b171..76e7d5484 100644 --- a/cvstools/Release-vars.mk +++ b/cvstools/Release-vars.mk @@ -1,11 +1,13 @@ #----------------------------------------------------------------- -# 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 @@ -51,9 +53,13 @@ endif # 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