Browse Source

Build: change local.conf to build.conf

Release_3.2
heck 2 years ago
parent
commit
b28daa4a6f
  1. 2
      .gitignore
  2. 2
      Makefile.conf
  3. 6
      README.md
  4. 4
      build.conf.example
  5. 4
      scripts/centos8/build_libpEpAdapter.sh
  6. 4
      scripts/debian10/build_libpEpAdapter.sh

2
.gitignore

@ -8,7 +8,7 @@ test_adapter
.gnupg
.pEp*
lib
local.conf
build.conf
build/
# Default ignored files
?idea/

2
Makefile.conf

@ -13,7 +13,7 @@ DEBUG=1
PREFIX?=$(HOME)
# Overrides
-include $(HERE)local.conf
-include $(HERE)build.conf
# Constants
CXXFLAGS+=-std=c++11 -fPIC

6
README.md

@ -3,11 +3,11 @@
## Build Configuration
The build configuration file is called `local.conf`.
Use the file `local.conf.example` as a template.
The build configuration file is called `build.conf`.
Use the file `build.conf.example` as a template.
```bash
cp local.conf.example local.conf
cp build.conf.example build.conf
```
Then, tweak it to your needs.

4
local.conf.example → build.conf.example

@ -1,7 +1,7 @@
# This is an Example build config file (local.conf)
# This is an Example build config file (build.conf)
# you might not need this file, but if the defaults dont work for you
# You can override them here.
# Tweak the values to your needs and rename it to local.conf
# Tweak the values to your needs and rename it to build.conf
######### C++ Compiler #########
# Should work with clang and g++

4
scripts/centos8/build_libpEpAdapter.sh

@ -1,8 +1,8 @@
#!/usr/bin/env sh
set -exo
echo "ENGINE_LIB_PATH=${INSTPREFIX}/lib" >> local.conf
echo "ENGINE_INC_PATH=${INSTPREFIX}/include" >> local.conf
echo "ENGINE_LIB_PATH=${INSTPREFIX}/lib" >> build.conf
echo "ENGINE_INC_PATH=${INSTPREFIX}/include" >> build.conf
make
make install PREFIX="${INSTPREFIX}"

4
scripts/debian10/build_libpEpAdapter.sh

@ -1,8 +1,8 @@
#!/usr/bin/env sh
set -exo
echo "ENGINE_LIB_PATH=${INSTPREFIX}/lib" >> local.conf
echo "ENGINE_INC_PATH=${INSTPREFIX}/include" >> local.conf
echo "ENGINE_LIB_PATH=${INSTPREFIX}/lib" >> build.conf
echo "ENGINE_INC_PATH=${INSTPREFIX}/include" >> build.conf
make
make install PREFIX="${INSTPREFIX}"

Loading…
Cancel
Save