Add git commit version info

This commit is contained in:
john hood
2015-05-18 18:56:40 -04:00
committed by John Hood
parent e0138bdb2b
commit f3073bbe5d
5 changed files with 32 additions and 7 deletions
+6 -2
View File
@@ -1,4 +1,8 @@
EXTRA_DIST = wrap-compiler-for-flag-check
EXTRA_DIST = wrap-compiler-for-flag-check mosh.pl
if BUILD_CLIENT
dist_bin_SCRIPTS = mosh
bin_SCRIPTS = mosh
endif
CLEANFILES = $(bin_SCRIPTS)
mosh: mosh.pl ../VERSION Makefile
@sed -e "s/\@VERSION\@/`cat ../VERSION`/" -e "s/\@PACKAGE_STRING\@/@PACKAGE_STRING@/" $(srcdir)/mosh.pl > mosh