aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-07-08 17:33:05 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-07-17 15:11:47 +0200
commitfb93fa92162c059f060fdcd7cdc313dd0ea9d7d0 (patch)
tree2dcd643b03a87abcf1ac8de790a0a8e8c9fd3e35 /src
parentda172b0ddeade361261499d6acccff1aae6df5b8 (diff)
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é <funman@videolan.org>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 72e677200..d8c0c7da3 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