Call libpostal_data in source path, not build path

This fix updates Makefile to find the actual libpostal_data file when
`configure` is called from another directory, which it uses as the build
directory.
This commit is contained in:
Tom Davis
2016-07-20 17:31:52 -04:00
parent a0f6e100f1
commit a8bb798ce0

View File

@@ -60,7 +60,7 @@ language_classifier_test_CFLAGS = $(CFLAGS_O3)
pkginclude_HEADERS = libpostal.h
all-local:
./libpostal_data download all $(datadir)/libpostal
${srcdir}/libpostal_data download all $(datadir)/libpostal
lexer: scanner.re
re2c -F -s -b -8 -o scanner.c scanner.re