Subject: Make variable to distinguish bsd.pkg.mk?
To: None <tech-pkg@netbsd.org>
From: Johnny Chi-Lung Lam <jlbg+@andrew.cmu.edu>
List: tech-pkg
Date: 11/22/1998 13:36:57
Is it worthwhile to define a make variable
BSD_PKG_MK=1
in bsd.prefs.mk? I'd like to have a variable to check in mk.conf to
determine if mk.conf is being included by bsd.pkg.mk or bsd.prefs.mk
so I can conditionalize the definition of a whole class of make
variables. This should reduce the make variable "namespace pollution"
that currently exists.
--
Johnny C. Lam
Department of Statistics lamj@stat.cmu.edu
Carnegie Mellon University http://www.stat.cmu.edu/~lamj/
@>---`---,----