From 282671e166d22b23d37702c3fd9a9448a01795b0 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Tue, 4 Jan 2011 18:42:58 +0000 Subject: [PATCH] Remove magic dir before trying to compile magic, to make it easier to recover from failed builds. --- magic/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/magic/Makefile.am b/magic/Makefile.am index 1ba92117..421082fe 100644 --- a/magic/Makefile.am +++ b/magic/Makefile.am @@ -1,5 +1,5 @@ # -# $File: Makefile.am,v 1.57 2010/09/20 19:19:16 rrt Exp $ +# $File: Makefile.am,v 1.58 2010/11/01 18:36:46 rrt Exp $ # MAGIC_FRAGMENT_BASE = Magdir MAGIC_DIR = $(top_srcdir)/magic @@ -248,6 +248,6 @@ FILE_COMPILE_DEP = $(FILE_COMPILE) endif ${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP) + @rm -fr magic @mkdir magic && cp -p $(EXTRA_DIST) magic $(FILE_COMPILE) -C -m magic - @rm -fr magic -- 2.40.0