From 187e9a2c6c08a2fcc08693c16b67cea0841913be Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sun, 1 Dec 2013 23:33:18 -0500 Subject: [PATCH] Fix bug when using separate build directory to create symbolic link --- tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 82863a6..6caffd7 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -25,13 +25,14 @@ TESTS = \ # Tell make how to generate a .sh file after a .hex file is generated: .hex.sh: - @ln -sf opcodes.sh $@ + @ln -sf $(srcdir)/opcodes.sh $@ # Tell make how to generate a .hex file from a .asm source file. # Warning: make distcheck will fail because asem doesn't have option to specify # output filename (and path): .asm.hex: $(AS51) $< + else TESTS = endif -- 2.20.1