w***@yahoo.com.br
2006-12-26 20:24:23 UTC
Hello,
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 simply 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 to achieve what I need?
Thanks in advance.
Walter
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 simply 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 to achieve what I need?
Thanks in advance.
Walter