TS-2207: stop using $(builddir) in automake Older automake (< 1.9?) doesn't emit $(builddir), but it's always "." anyway, so let's use that instead.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/4860d7ba Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/4860d7ba Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/4860d7ba Branch: refs/heads/4.0.x Commit: 4860d7ba4a8c281dad5ef278c2dd7eeb9f7671b0 Parents: 1b38b3f Author: James Peach <[email protected]> Authored: Tue Sep 10 09:20:27 2013 -0700 Committer: Leif Hedstrom <[email protected]> Committed: Sun Oct 6 09:21:16 2013 -0600 ---------------------------------------------------------------------- lib/tsconfig/Makefile.am | 2 +- proxy/Makefile.am | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4860d7ba/lib/tsconfig/Makefile.am ---------------------------------------------------------------------- diff --git a/lib/tsconfig/Makefile.am b/lib/tsconfig/Makefile.am index dde552f..4e33c6c 100644 --- a/lib/tsconfig/Makefile.am +++ b/lib/tsconfig/Makefile.am @@ -53,4 +53,4 @@ test_tsconfig_LDADD = libtsconfig.la ../ts/libtsutil.la # Strip to just the enum in the ts::config namespace so we can use # it more easily in C++. TsConfigGrammar.hpp: TsConfigGrammar.h BisonHeaderToC++.sed - $(SED) -f $(srcdir)/BisonHeaderToC++.sed $(builddir)/TsConfigGrammar.h > $@ + $(SED) -f $(srcdir)/BisonHeaderToC++.sed TsConfigGrammar.h > $@ http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4860d7ba/proxy/Makefile.am ---------------------------------------------------------------------- diff --git a/proxy/Makefile.am b/proxy/Makefile.am index d26227e..2565100 100644 --- a/proxy/Makefile.am +++ b/proxy/Makefile.am @@ -50,8 +50,8 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/mgmt/preparse \ -I$(top_srcdir)/mgmt/utils \ -I$(srcdir)/api/ts \ - -I$(builddir) \ - -I$(builddir)/api/ts \ + -I. \ + -I./api/ts \ -I$(top_srcdir)/lib noinst_HEADERS = \
