From 195ef46561b5893497c39445442fa6b80d164dfd Mon Sep 17 00:00:00 2001 From: John Hood Date: Sun, 8 Oct 2017 13:55:49 -0400 Subject: [PATCH] Add Perl compile This helps catch Perl syntax/version/dependency issues at build time rather than run time. --- scripts/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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