Skip to content

Commit

Permalink
Remove use of top_srcdir with newer automakes
Browse files Browse the repository at this point in the history
Newer versions of automake dislike the use of 'top_srcdir'. This is an
upstream patch addressing the issue.

libevent/libevent@a55514e
  • Loading branch information
kfp committed Apr 21, 2019
1 parent bc9b74a commit 7a29a78
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions release/src/router/libevent-2.0.21/test/Makefile.am
Expand Up @@ -19,7 +19,14 @@ endif
EXTRA_PROGRAMS = regress
noinst_HEADERS = tinytest.h tinytest_macros.h regress.h tinytest_local.h

TESTS = $(top_srcdir)/test/test.sh
# We need to copy this file, since automake doesn't want us to use top_srcdir
# in TESTS.
TESTS = test-script.sh

test-script.sh: test.sh
cp $< $@

DISTCLEANFILES = test-script.sh

BUILT_SOURCES =
if BUILD_REGRESS
Expand Down Expand Up @@ -91,7 +98,7 @@ rpcgen-attempted: $(srcdir)/regress.rpc $(srcdir)/../event_rpcgen.py $(srcdir)/r

CLEANFILES = rpcgen-attempted

DISTCLEANFILES = *~
DISTCLEANFILES += *~

verify: check

Expand Down

0 comments on commit 7a29a78

Please sign in to comment.