forked from hans/Nominatim
The default location of osm2pgsql and the postgresql module is decided at compile/installation time and is not necessarily in the project directory. With this change it is now possible to have a project directory that is completely separate from the build directory.
10 lines
366 B
Cheetah
Executable File
10 lines
366 B
Cheetah
Executable File
#!@PHP_BIN@ -Cq
|
|
<?php
|
|
@define('CONST_Default_ModulePath', '@CMAKE_BINARY_DIR@/module');
|
|
@define('CONST_Default_Osm2pgsql', '@CMAKE_BINARY_DIR@/osm2pgsql/osm2pgsql');
|
|
@define('CONST_BinDir', '@CMAKE_SOURCE_DIR@/utils');
|
|
@define('CONST_LibDir', '@CMAKE_SOURCE_DIR@/lib');
|
|
@define('CONST_DataDir', '@CMAKE_SOURCE_DIR@');
|
|
|
|
require_once(CONST_BinDir.'/@script_source@');
|