aboutsummaryrefslogtreecommitdiff
path: root/server
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
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')
-rw-r--r--server/keytab-backend.in3
-rw-r--r--server/wallet-admin.in3
-rw-r--r--server/wallet-backend.in3
-rw-r--r--server/wallet-report.in3
4 files changed, 8 insertions, 4 deletions
diff --git a/server/keytab-backend.in b/server/keytab-backend.in
index 13cb33e..56c375b 100644
--- a/server/keytab-backend.in
+++ b/server/keytab-backend.in
@@ -1,4 +1,5 @@
-#!WALLET_PERL_PATH
+#!@PERL@
+# -*- perl -*-
#
# Extract keytabs from the KDC without changing the key.
#
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.
diff --git a/server/wallet-backend.in b/server/wallet-backend.in
index d7dde42..4803f96 100644
--- a/server/wallet-backend.in
+++ b/server/wallet-backend.in
@@ -1,4 +1,5 @@
-#!WALLET_PERL_PATH
+#!@PERL@
+# -*- perl -*-
#
# Wallet server for storing and retrieving secure data.
diff --git a/server/wallet-report.in b/server/wallet-report.in
index 2b59803..10a3b00 100644
--- a/server/wallet-report.in
+++ b/server/wallet-report.in
@@ -1,4 +1,5 @@
-#!WALLET_PERL_PATH
+#!@PERL@
+# -*- perl -*-
#
# Wallet server reporting interface.