Skip to content

Commit

Permalink
src/Makefile.am: add .DELETE_ON_ERROR
Browse files Browse the repository at this point in the history
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é <funman@videolan.org>
  • Loading branch information
falconindy authored and bagder committed Jul 17, 2014
1 parent da172b0 commit fb93fa9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Makefile.am
Expand Up @@ -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
Expand Down

0 comments on commit fb93fa9

Please sign in to comment.