This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

catching build problems


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]