mirror of
https://github.com/mobile-shell/mosh.git
synced 2026-03-01 18:23:30 +01:00
This helps catch Perl syntax/version/dependency issues at build time rather than run time.
11 lines
326 B
Makefile
11 lines
326 B
Makefile
EXTRA_DIST = wrap-compiler-for-flag-check mosh.pl
|
|
if BUILD_CLIENT
|
|
bin_SCRIPTS = mosh
|
|
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
|