Add git commit version info
This commit is contained in:
+6
-2
@@ -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
|
||||
|
||||
@@ -30,8 +30,6 @@
|
||||
# this exception statement from all source files in the program, then
|
||||
# also delete it here.
|
||||
|
||||
my $MOSH_VERSION = '1.2.4a';
|
||||
|
||||
use warnings;
|
||||
use strict;
|
||||
use Getopt::Long;
|
||||
@@ -89,7 +87,7 @@ qq{Usage: $0 [options] [--] [user@]host [command...]
|
||||
Please report bugs to mosh-devel\@mit.edu.
|
||||
Mosh home page: http://mosh.mit.edu\n};
|
||||
|
||||
my $version_message = qq{mosh $MOSH_VERSION
|
||||
my $version_message = qq{@PACKAGE_STRING@ [build @VERSION@]
|
||||
Copyright 2012 Keith Winstein <mosh-devel\@mit.edu>
|
||||
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
|
||||
This is free software: you are free to change and redistribute it.
|
||||
Reference in New Issue
Block a user