]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Change ms_print to ms_print.in, link it into the build/install system.
authorNicholas Nethercote <njn@valgrind.org>
Fri, 2 Nov 2007 20:44:57 +0000 (20:44 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Fri, 2 Nov 2007 20:44:57 +0000 (20:44 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7082

configure.in
massif/Makefile.am
massif/ms_print.in [moved from massif/ms_print with 99% similarity]

index 81b121ecb83ca664e3fb04adafdf363c08b2c0b8..42570bb7d49a59c23712ea8e54cb8b52922e8e81 100644 (file)
@@ -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
index f1940ff599e6388e3e3a04228629057b67f5e1c3..413935c35f118624843956c559d7b7f3dce5df0e 100644 (file)
@@ -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
similarity index 99%
rename from massif/ms_print
rename to massif/ms_print.in
index b836f24665125444b0caed103aea1dcb40b034b5..730b625a97ddc248fd8ce79e1b772a6363d953db 100755 (executable)
@@ -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;