aboutsummaryrefslogtreecommitdiff
path: root/server/wallet-admin.in
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2016-01-23 15:17:49 -0800
committerRuss Allbery <eagle@eyrie.org>2016-01-23 15:21:55 -0800
commitf532471b897dfb426890cd96b77f0f44e36c061d (patch)
tree4334d349cbd303baf6e8946215b0b7bc91d07e10 /server/wallet-admin.in
parent4abe4ae9b4149a5eb8a30a6e7b1070ff97d69021 (diff)
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.
Diffstat (limited to 'server/wallet-admin.in')
-rw-r--r--server/wallet-admin.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/wallet-admin.in b/server/wallet-admin.in
index 84141e6..6c18b82 100644
--- a/server/wallet-admin.in
+++ b/server/wallet-admin.in
@@ -1,4 +1,5 @@
-#!WALLET_PERL_PATH
+#!@PERL@
+# -*- perl -*-
#
# Wallet server administrative commands.