head	1.1;
access;
symbols
	RELENG_9:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2013.04.03.00.46.15;	author svnexp;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2013.04.03.00.46.15;	author svnexp;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2014.03.16.00.01.46;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/249033
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $Id: export-env,v 1.1.1.1 2013/03/23 02:26:59 sjg Exp $

# our normal .export, subsequent changes affect the environment
UT_TEST=this
.export UT_TEST
UT_TEST:= ${.PARSEFILE}

# not so with .export-env
UT_ENV=exported
.export-env UT_ENV
UT_ENV=not-exported

# gmake style export goes further; affects nothing but the environment
UT_EXP=before-export
export UT_EXP=exported
UT_EXP=not-exported

all:
	@@echo make:; ${UT_TEST UT_ENV UT_EXP:L:@@v@@echo $v=${$v};@@}
	@@echo env:; ${UT_TEST UT_ENV UT_EXP:L:@@v@@echo $v=$${$v};@@}




@


1.1.2.1
log
@file export-env was added on branch RELENG_9 on 2014-03-16 00:01:46 +0000
@
text
@d1 24
@


1.1.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/263212
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 24
# $Id: export-env,v 1.1.1.1 2013/03/23 02:26:59 sjg Exp $

# our normal .export, subsequent changes affect the environment
UT_TEST=this
.export UT_TEST
UT_TEST:= ${.PARSEFILE}

# not so with .export-env
UT_ENV=exported
.export-env UT_ENV
UT_ENV=not-exported

# gmake style export goes further; affects nothing but the environment
UT_EXP=before-export
export UT_EXP=exported
UT_EXP=not-exported

all:
	@@echo make:; ${UT_TEST UT_ENV UT_EXP:L:@@v@@echo $v=${$v};@@}
	@@echo env:; ${UT_TEST UT_ENV UT_EXP:L:@@v@@echo $v=$${$v};@@}




@


