From: Dave Reisner Date: Tue, 8 Jul 2014 15:33:05 +0000 (+0200) Subject: src/Makefile.am: add .DELETE_ON_ERROR X-Git-Tag: curl-7_38_0~205 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb93fa92162c059f060fdcd7cdc313dd0ea9d7d0;p=thirdparty%2Fcurl.git src/Makefile.am: add .DELETE_ON_ERROR This prevents targets like tool_hugehelp.c from leaving around half-constructed files if the rule fails with GNU make. Reported-by: Rafaël Carré --- diff --git a/src/Makefile.am b/src/Makefile.am index 72e6772002..d8c0c7da37 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -21,6 +21,9 @@ ########################################################################### AUTOMAKE_OPTIONS = foreign nostdinc +# remove targets if the command fails +.DELETE_ON_ERROR: + # Specify our include paths here, and do it relative to $(top_srcdir) and # $(top_builddir), to ensure that these paths which belong to the library # being currently built and tested are searched before the library which