consistently remove $@-t before redirecting to it
[gnulib.git] / modules / poll
index b83cb2b..612189b 100644 (file)
@@ -22,6 +22,7 @@ BUILT_SOURCES += $(POLL_H)
 # We need the following in order to create <poll.h> when the system
 # doesn't have one.
 poll.h: poll.in.h
+       rm -f $@-t $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          cat $(srcdir)/poll.in.h; \
        } > $@-t