62869ae55f
-I$(top_srcdir) is not usable on macOS due to a conflicting C++ header `version`.
11 lines
338 B
Makefile
11 lines
338 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.stamp Makefile
|
|
perl -Mdiagnostics -c $(srcdir)/mosh.pl
|
|
@sed -e "s/\@VERSION\@/`cat ../VERSION.stamp`/" -e "s/\@PACKAGE_STRING\@/@PACKAGE_STRING@/" $(srcdir)/mosh.pl > mosh
|
|
@chmod a+x mosh
|