From f532471b897dfb426890cd96b77f0f44e36c061d Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sat, 23 Jan 2016 15:17:49 -0800 Subject: Clean up generation of Perl scripts Use @PERL@ as the substitution variable instead of WALLET_PERL_PATH to match normal Automake conventions. Write the scripts into the build path, not the source path, to work properly with out-of-tree builds. Clean up the distribution rules. Use separate Makefile rules for each script so that make has proper dependencies. Also fix the Perl paths in (some of) the test scripts, although there are others for which this still isn't going to work. --- tests/client/full-t.in | 3 ++- tests/client/prompt-t.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/client/full-t.in b/tests/client/full-t.in index 4861723..80bb20f 100644 --- a/tests/client/full-t.in +++ b/tests/client/full-t.in @@ -1,4 +1,5 @@ -#!/usr/bin/perl +#!@PERL@ +# -*- perl -*- # # End-to-end tests for the wallet client. # diff --git a/tests/client/prompt-t.in b/tests/client/prompt-t.in index 686cc88..d3a1eac 100644 --- a/tests/client/prompt-t.in +++ b/tests/client/prompt-t.in @@ -1,4 +1,5 @@ -#!/usr/bin/perl +#!@PERL@ +# -*- perl -*- # # Password prompting tests for the wallet client. # -- cgit v1.2.3