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



commit b4f60021ac643aaf246832ac1ebea7d569428bcf
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 d076175..a033c46 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]