From c628f2c71b9b789fa992d26f709a2b9e5d9c5a3e Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Fri, 11 Sep 2020 09:07:04 +0200 Subject: [PATCH] Make masterXX.data.in reachable by out-of-tree builds Unit test run for out-of-tree builds used to fail to find masterXX.data.in files: /usr/bin/perl -w /builds/mnowak/bind9/lib/dns/tests/mkraw.pl < testdata/master/master12.data.in > testdata/master/master12.data /bin/bash: testdata/master/master12.data.in: No such file or directory make[4]: *** [Makefile:1910: testdata/master/master12.data] Error 1 --- lib/dns/tests/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dns/tests/Makefile.am b/lib/dns/tests/Makefile.am index d57d446483..76e9b96b94 100644 --- a/lib/dns/tests/Makefile.am +++ b/lib/dns/tests/Makefile.am @@ -59,15 +59,15 @@ CLEANFILES = $(EXTRA_master_test_DEPENDENCIES) testdata/master/master12.data: testdata/master/master12.data.in mkdir -p testdata/master - $(PERL) -w $(srcdir)/mkraw.pl < testdata/master/master12.data.in > $@ + $(PERL) -w $(srcdir)/mkraw.pl < $(srcdir)/testdata/master/master12.data.in > $@ testdata/master/master13.data: testdata/master/master13.data.in mkdir -p testdata/master - $(PERL) -w $(srcdir)/mkraw.pl < testdata/master/master13.data.in > $@ + $(PERL) -w $(srcdir)/mkraw.pl < $(srcdir)/testdata/master/master13.data.in > $@ testdata/master/master14.data: testdata/master/master14.data.in mkdir -p testdata/master - $(PERL) -w $(srcdir)/mkraw.pl < testdata/master/master14.data.in > $@ + $(PERL) -w $(srcdir)/mkraw.pl < $(srcdir)/testdata/master/master14.data.in > $@ endif