This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
catching build problems
- To: automake at gnu dot org
- Subject: catching build problems
- From: "Lars J. Aas" <larsa at sim dot no>
- Date: Fri, 17 Mar 2000 13:30:49 +0100
I just set up the following line in the basedir Makefile.am in a project
I'm working on:
MAKE := trap "cat $(top_srcdir)/troubleshooting" 1 2 15; $(MAKE) MAKE="$(MAKE)"
This made make type the file $(top_srcdir)/troubleshooting" if I broke
off the build process. What I want to do is to type out some helpful
information if the compilation fails - I'll tune the trapped signals to
only catch compilation problems later.
What I wonder is whether this kind of thing is portable and safe to do in
an autoconf+automake+libtool project?
Lars J