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