diff options
author | John Hood <cgull@glup.org> | 2017-10-08 13:55:49 -0400 |
---|---|---|
committer | John Hood <cgull@glup.org> | 2017-10-25 23:02:10 -0400 |
commit | 195ef46561b5893497c39445442fa6b80d164dfd (patch) | |
tree | c00c1caa7cbea6e7c3acdff00cdf4de220236965 /scripts | |
parent | e9c3bbd3644d2afc91820b28db937a43594d9273 (diff) |
Add Perl compile
This helps catch Perl syntax/version/dependency issues at build time
rather than run time.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index ed90010..5ce9ea0 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -5,5 +5,6 @@ endif CLEANFILES = $(bin_SCRIPTS) mosh: mosh.pl ../VERSION Makefile + perl -Mdiagnostics -c $(srcdir)/mosh.pl @sed -e "s/\@VERSION\@/`cat ../VERSION`/" -e "s/\@PACKAGE_STRING\@/@PACKAGE_STRING@/" $(srcdir)/mosh.pl > mosh @chmod a+x mosh |