From: Nicholas Nethercote Date: Fri, 2 Nov 2007 20:44:57 +0000 (+0000) Subject: Change ms_print to ms_print.in, link it into the build/install system. X-Git-Tag: svn/VALGRIND_3_3_0~183 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a965314f5af2a8d0af3d9cc5e066c0a643cdb04;p=thirdparty%2Fvalgrind.git Change ms_print to ms_print.in, link it into the build/install system. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7082 --- diff --git a/configure.in b/configure.in index 81b121ecb8..42570bb7d4 100644 --- a/configure.in +++ b/configure.in @@ -983,6 +983,7 @@ AC_OUTPUT( massif/tests/Makefile massif/perf/Makefile massif/docs/Makefile + massif/ms_print lackey/Makefile lackey/tests/Makefile lackey/docs/Makefile diff --git a/massif/Makefile.am b/massif/Makefile.am index f1940ff599..413935c35f 100644 --- a/massif/Makefile.am +++ b/massif/Makefile.am @@ -2,6 +2,8 @@ include $(top_srcdir)/Makefile.tool.am SUBDIRS += perf +bin_SCRIPTS = ms_print + noinst_PROGRAMS = if VGP_X86_LINUX noinst_PROGRAMS += massif-x86-linux vgpreload_massif-x86-linux.so diff --git a/massif/ms_print b/massif/ms_print.in similarity index 99% rename from massif/ms_print rename to massif/ms_print.in index b836f24665..730b625a97 100755 --- a/massif/ms_print +++ b/massif/ms_print.in @@ -1,4 +1,4 @@ -#! /usr/bin/perl +#! @PERL@ ##--------------------------------------------------------------------## ##--- Massif's results printer ms_print.in ---## @@ -54,8 +54,8 @@ my $input_file = undef; # Tmp file name. my $tmp_file = "ms_print.tmp.$$"; -# Version number (XXX: change it when I convert this file to ms_print.in) -my $version = "XXX"; # "@VERSION@"; +# Version number. +my $version = "@VERSION@"; # Args passed, for printing. my $ms_print_args;