From c21f61b9b491ee5084f1640e47432347d49b1b5c Mon Sep 17 00:00:00 2001 From: Al Date: Fri, 11 Sep 2015 15:05:07 -0700 Subject: [PATCH] [parser] Default address parser path --- data/address_parser/.gitignore | 4 ++++ src/libpostal_config.h | 1 + 2 files changed, 5 insertions(+) create mode 100644 data/address_parser/.gitignore diff --git a/data/address_parser/.gitignore b/data/address_parser/.gitignore new file mode 100644 index 00000000..5e7d2734 --- /dev/null +++ b/data/address_parser/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore diff --git a/src/libpostal_config.h b/src/libpostal_config.h index 25acbec4..8ae25ef3 100644 --- a/src/libpostal_config.h +++ b/src/libpostal_config.h @@ -12,6 +12,7 @@ #error LIBPOSTAL_DATA_DIR not defined! #endif +#define LIBPOSTAL_ADDRESS_PARSER_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "address_parser" #define LIBPOSTAL_DICTIONARIES_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "dictionaries" #define LIBPOSTAL_GEONAMES_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "geonames" #define LIBPOSTAL_GEODB_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "geodb"