Add Perl compile

This helps catch Perl syntax/version/dependency issues at build time
rather than run time.
This commit is contained in:
John Hood
2017-10-08 13:55:49 -04:00
parent e9c3bbd364
commit 195ef46561
+1
View File
@@ -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