Commit 3bd34432 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(valgrind.wrap): Expect the log file name as the first argument.

(EXTRA_DIST): Added lyskomd.supp.
parent 9e2747ce
# $Id: Makefile.am,v 1.40 2002/08/02 13:45:30 ceder Exp $
# $Id: Makefile.am,v 1.41 2002/08/02 21:25:56 ceder Exp $
# Copyright (C) 1998-2001 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -31,6 +31,7 @@ noinst_DATA = site.exp .gdbinit valgrind.wrap
EXTRA_DIST = .cvsignore \
tcpconnect.py renumber.el \
lyskomd.supp \
l2g.0/00.exp l2g.0/01.exp l2g.0/02.exp l2g.0/03.exp \
l2g.0/04.exp l2g.0/05.exp l2g.0/06.exp l2g.0/07.exp \
l2g.0/08.exp l2g.0/09.exp l2g.0/10.exp l2g.0/11.exp \
......@@ -123,7 +124,9 @@ valgrind.wrap: Makefile
echo "#!/bin/sh" > $@.tmp
echo "# This file is generated by Makefile. Do not edit." >> $@.tmp
## If you change the "25", you also have to change config/unix.exp.
echo "exec 25>valgrind.log" >> $@.tmp
echo 'exec 25>$$1' >> $@.tmp
echo 'shift' >> $@.tmp
echo 'echo $(VALGRIND) "$$@" >&25' >> $@.tmp
echo 'exec $(VALGRIND) "$$@"' >> $@.tmp
chmod 555 $@.tmp
mv $@.tmp $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment