Re: How to execute commands in case of interruption of makefile execution

Paul Smith <[email protected]>
Newsgroups gmane.comp.gnu.utils
Message-ID <[email protected]>
[email protected] writes:

> I'd like to execute some cleanup commands in case of interruption
> (CTRL-C or something) of the normal makefile execution. These commands
> do more than simlpy delete intermediary files, so .INTERMEDIATE rule
> does not solve my problem. A way to execute commands upon termination
> of the Makefile, regardless the termination is forced or not (something
> like the Perl END routine) would help too.
> 
> Is there any way (a special "interrupted" rule, for instance) to
> achieve what I need?

No.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.