[gnome-commander/gcmd-1-6] Prevent targets from leaving around half-constructed files if the rule fails



commit a36238d4a273b9316dd4a65b9f2c97af47f41e7d
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Mon May 22 20:09:12 2017 +0200

    Prevent targets from leaving around half-constructed files if the rule fails

 Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index eeb42f9..efdf078 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -64,6 +64,9 @@ MAINTAINERCLEANFILES = \
        $(GITIGNORE_MAINTAINERCLEANFILES_M4_GETTEXT) \
        $(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL)
 
+# Remove targets if the command fails
+.DELETE_ON_ERROR:
+
 .PHONY: ChangeLog
 
 -include $(top_srcdir)/git.mk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]