# HG changeset patch # User Augie Fackler # Date 1461247848 14400 # Node ID 145cdc45b0df7b279ccd936db22264e807fe0718 # Parent c6b108555dfadb2e0c52f3a5af1972039e46c4e7 make: do assignment and export in a single statement This is portable between GNU and BSD make, whereas doing the export on its own line confuses BSD make. diff -r c6b108555dfa -r 145cdc45b0df Makefile --- a/Makefile Thu Apr 21 10:05:14 2016 -0400 +++ b/Makefile Thu Apr 21 10:10:48 2016 -0400 @@ -4,8 +4,7 @@ # # % make PREFIX=/opt/ install -PREFIX=/usr/local -export PREFIX +export PREFIX=/usr/local PYTHON=python $(eval HGROOT := $(shell pwd)) HGPYTHONS ?= $(HGROOT)/build/pythons