-check for libxml2-2.5.8 TEXT_NODE bug for captive-bug-replay
[captive.git] / Makefile-head.am
index 8945bf3..0634c6e 100644 (file)
@@ -46,6 +46,7 @@ DEFAULT_INCLUDES=
 INCLUDES=
 lib_LTLIBRARIES=
 pkginclude_HEADERS=
+bin_PROGRAMS=
 sbin_PROGRAMS=
 noinst_HEADERS=
 # Prevent: noinst_DATA was already defined in condition TRUE, which implies condition MAINTAINER_MODE_TRUE
@@ -61,6 +62,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)
@@ -122,7 +127,7 @@ endif
 # to get $(COMPILE) variable definition.
 MAINTAINERCLEANFILES+=.include_test_false.c
 BUILT_SOURCES+=.include_test_false.c
-if IS_FALSE
+if NEVER
 noinst_PROGRAMS=.include_test_false
 endif
 .include_test_false.c: