+.DELETE_ON_ERROR: Force delete of target file if command fails.
authorshort <>
Sat, 9 Nov 2002 19:15:18 +0000 (19:15 +0000)
committershort <>
Sat, 9 Nov 2002 19:15:18 +0000 (19:15 +0000)
Makefile-head.am

index 8945bf3..26b8463 100644 (file)
@@ -61,6 +61,10 @@ INCLUDES+=-DLOCALEDIR=\"$(localedir)\"
 INCLUDES+=-I$(top_srcdir)/src/libcaptive/include
 INCLUDES+=-I$(top_srcdir)/intl
 
+# Force delete of target file if command fails.
+# Generally better behaviour but it requires GNU make. Harmless otherwise.
+.DELETE_ON_ERROR:
+
 
 # This target is used during ./autogen.pl POTFILES.in generation
 distfiles: $(DISTFILES)