1EXTRA_DIST = wrap-compiler-for-flag-check mosh.pl
2if BUILD_CLIENT
3  bin_SCRIPTS = mosh
4endif
5CLEANFILES = $(bin_SCRIPTS)
6
7mosh:	mosh.pl ../VERSION Makefile
8	@sed -e "s/\@VERSION\@/`cat ../VERSION`/" -e "s/\@PACKAGE_STRING\@/@PACKAGE_STRING@/" $(srcdir)/mosh.pl > mosh
9	@chmod a+x mosh
10