2014-08-21 17:44:51 +04:00
|
|
|
# $Id: unexport-env.mk,v 1.1 2014/08/21 13:44:52 apb Exp $
|
2009-11-19 03:30:25 +03:00
|
|
|
|
|
|
|
# pick up a bunch of exported vars
|
2014-08-21 17:44:51 +04:00
|
|
|
.include "export.mk"
|
2009-11-19 03:30:25 +03:00
|
|
|
|
|
|
|
# an example of setting up a minimal environment.
|
|
|
|
PATH = /bin:/usr/bin:/sbin:/usr/sbin
|
|
|
|
|
|
|
|
# now clobber the environment to just PATH and UT_TEST
|
|
|
|
UT_TEST = unexport-env
|
|
|
|
|
|
|
|
# this removes everything
|
|
|
|
.unexport-env
|
|
|
|
.export PATH UT_TEST
|