From b8475305e447e62169da0954247d21077e5ca805 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 26 Aug 2009 15:15:03 +0000 Subject: [PATCH] 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. --- lasso/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lasso/Makefile.am b/lasso/Makefile.am index fce83aed..f99c5c7d 100644 --- a/lasso/Makefile.am +++ b/lasso/Makefile.am @@ -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 \