consistently remove $@-t before redirecting to it
[gnulib.git] / modules / glob
index b765be7..bf7af7c 100644 (file)
@@ -32,6 +32,7 @@ BUILT_SOURCES += $(GLOB_H)
 # We need the following in order to create <glob.h> when the system
 # doesn't have one that works with the given compiler.
 glob.h: glob.in.h
+       rm -f $@-t $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
              < $(srcdir)/glob.in.h; \