Core: fix makefile for generating errors.h in out of source dir build

* lasso/Makefile.am:
   errors.h is expected to be in srcdir not builddir.
This commit is contained in:
Benjamin Dauvergne 2009-08-26 15:15:03 +00:00
parent a97feba422
commit b8475305e4
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ liblasso_la_LDFLAGS = -no-undefined -version-info @LASSO_VERSION_INFO@ \
-export-symbols symbols.sym
endif
errors.c: errors.h
errors.c: $(srcdir)/errors.h
python $(srcdir)/build_strerror.py $(srcdir) >$(srcdir)/.errors.c.new
if ! cmp -s $(srcdir)/errors.c $(srcdir)/.errors.c.new; then \
mv -f $(srcdir)/.errors.c.new $(srcdir)/errors.c; else \