Add Perl compile
This helps catch Perl syntax/version/dependency issues at build time rather than run time.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user