From: Olof J. <ol...@et...> - 2013-05-11 19:29:31
|
Hi, I've made some changes to system-autodetect.mk that I hope you may be interested in. With the changes, you can override many values from the environment (e.g. PREFIX, CFLAGS, LDFLAGS, etc) without having to manually edit system-autodetect.mk or create a system-local.mk. The logic for selecting a lua interpreter is also refactored out to a seperate file and simplified. It can be overriden by setting LUA_VERSION in the environment (e.g. LUA_VERSION=5.1). This would ease the life of people packaging notion, while not interfering with the way a user would like to build notion. (He or she could still edit -autodetect.mk or create a -local.mk.) Any comments are welcome! It works for me(tm), but i can imagine there are some corner cases I failed to take into consideration. Olof Johansson (3): build: Use more overrideable system-autodetect.mk build: whitespace cleanup in system-autodetect build: remove support for system-ac.mk README | 6 +- build/lua-detect.mk | 48 ++++++++++++++ build/system-inc.mk | 14 +--- system-autodetect.mk | 172 +++++++++++++++++--------------------------------- 4 files changed, 111 insertions(+), 129 deletions(-) create mode 100644 build/lua-detect.mk -- 1.7.10.4 |