diff options
author | Russ Allbery <eagle@eyrie.org> | 2016-01-23 15:17:49 -0800 |
---|---|---|
committer | Russ Allbery <eagle@eyrie.org> | 2016-01-23 15:21:55 -0800 |
commit | f532471b897dfb426890cd96b77f0f44e36c061d (patch) | |
tree | 4334d349cbd303baf6e8946215b0b7bc91d07e10 /server | |
parent | 4abe4ae9b4149a5eb8a30a6e7b1070ff97d69021 (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.in | 3 | ||||
-rw-r--r-- | server/wallet-admin.in | 3 | ||||
-rw-r--r-- | server/wallet-backend.in | 3 | ||||
-rw-r--r-- | server/wallet-report.in | 3 |
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. |