1 1.1 apb # $Id: unexport-env.mk,v 1.1 2014/08/21 13:44:52 apb Exp $ 2 1.1 apb 3 1.1 apb # pick up a bunch of exported vars 4 1.1 apb .include "export.mk" 5 1.1 apb 6 1.1 apb # an example of setting up a minimal environment. 7 1.1 apb PATH = /bin:/usr/bin:/sbin:/usr/sbin 8 1.1 apb 9 1.1 apb # now clobber the environment to just PATH and UT_TEST 10 1.1 apb UT_TEST = unexport-env 11 1.1 apb 12 1.1 apb # this removes everything 13 1.1 apb .unexport-env 14 1.1 apb .export PATH UT_TEST 15