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