Browse Source

Make Makefile ready for local.conf, add deprecation warning to doc

ENGINE-261
Damiano Boppart 5 years ago
parent
commit
5565df59fb
4 changed files with 13 additions and 8 deletions
  1. +1
    -0
      .hgignore
  2. +8
    -8
      Makefile
  3. +2
    -0
      doc/build-debian.md
  4. +2
    -0
      doc/build-macos.md

+ 1
- 0
.hgignore View File

@ -4,6 +4,7 @@ syntax: regexp
^asn\.1/libasn1\.a$
.*xcuserdata/
^build/
^local.conf
syntax: glob
*.orig


+ 8
- 8
Makefile View File

@ -11,7 +11,7 @@ include Makefile.conf
export YML_PATH=$(YML2_PATH)
.PHONY: all
all: _platform_override_info
all: _override_info
$(MAKE) -C asn.1 generate
$(MAKE) -C asn.1
$(MAKE) -C sync
@ -52,12 +52,12 @@ package: clean
db:
$(MAKE) -C db db
.PHONY: _platform_override
ifdef PLATFORM_OVERRIDE
_platform_override_info:
@echo "================================================"
@echo "PLATFORM_OVERRIDE is set to '$(PLATFORM_OVERRIDE)'."
@echo "================================================"
.PHONY: _override_info
ifneq ($(wildcard local.conf),)
_override_info:
@echo "=============================="
@echo "`local.conf` found, and in use"
@echo "=============================="
else
_platform_override_info:
_override_info:
endif

+ 2
- 0
doc/build-debian.md View File

@ -64,6 +64,8 @@ cd ~/code/pep-engine
mkdir ~/code/pep-engine/build
~~~
Note: Everything PLATFORM_OVERRIDE-related is currenty outdated. Do not rely on the documentation here!
For an explanation of the mechanics of `PLATFORM_OVERRIDE`, see the inline comments in `Makefile.conf`.
In this guide, the platform-specific configuration will be called `local`.
The installation directory will be a subdirectory of the repository.


+ 2
- 0
doc/build-macos.md View File

@ -76,6 +76,8 @@ cd ~/code/pep-engine
mkdir ~/code/pep-engine/build
~~~
Note: Everything PLATFORM_OVERRIDE-related is currenty outdated. Do not rely on the documentation here!
For an explanation of the mechanics of `PLATFORM_OVERRIDE`, see the inline comments in `Makefile.conf`.
In this guide, the platform-specific configuration will be called `local`.
The installation directory will be a subdirectory of the repository.


Loading…
Cancel
Save