blob: 5ce9ea062fbda27047ea1394256daaad96940a1c (
plain)
1
2
3
4
5
6
7
8
9
10
|
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
|