diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-08-02 19:15:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-08-02 19:15:07 +0200 |
commit | b86ff09a9900ed196010c5feba8b2cfc0a877aae (patch) | |
tree | ef5331d50bf251d25318a7cc1fbe3c37b0a1a972 /build/bootstrap.make | |
parent | 49d7681be69dfb0f3f31e0091592f33e27a40c23 (diff) |
Add support for bundling of the build distribution
Diffstat (limited to 'build/bootstrap.make')
-rw-r--r-- | build/bootstrap.make | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/build/bootstrap.make b/build/bootstrap.make index 1df57a6..2dbbde3 100644 --- a/build/bootstrap.make +++ b/build/bootstrap.make @@ -5,8 +5,16 @@ project_name := CLI -include build-0.3/bootstrap.make +# First try to include the bundled bootstrap.make if it exist. If that +# fails, let make search for the external bootstrap.make. +# +build := build-0.3 + +-include $(dir $(lastword $(MAKEFILE_LIST)))$(build)/bootstrap.make +ifeq ($(patsubst %build/bootstrap.make,,$(lastword $(MAKEFILE_LIST))),) +include $(build)/bootstrap.make +endif # Aliases # |