Makefile: switch from TG-PREFIX to TG-BUILD-SETTINGS
commit869fcf80b1e4572b8971147a1c5c9f5fa5cfdc28
authorKyle J. McKay <mackyle@gmail.com>
Wed, 14 Dec 2016 19:16:52 +0000 (14 11:16 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 14 Dec 2016 19:16:52 +0000 (14 11:16 -0800)
tree4cb462c67d07a1c4b0a2362dd8b11a94b4cfa527
parent9ba4e96aa4a20e2406df6e0d1fbc6ff95f8d7bea
Makefile: switch from TG-PREFIX to TG-BUILD-SETTINGS

The TG-PREFIX file was used to track build setting changes
in order to trigger the necessary rebuild when they were modified.

However, it wasn't just the installation "prefix" that was being
tracked and the settings were not being stored in such a way that
they could be reused by any tests (previously there were none).

Therefore replace TG-PREFIX with TG-BUILD-SETTINGS that contains
shell-sourcable variable assignments so it can be reused by tests.

Furthermore, move the definition of GIT_MINIMUM_VERSION from tg.sh
into Makefile so that it too can be tracked and reused by tests.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
.gitignore
Makefile
tg.sh