openat: provide more convenience names
[pspp] / modules / fnmatch
index 441d5d381b4a9a34eefdb5a95c0a8313f19f6e9a..78344cae8baded97fa7b9ffed59d2099083b401e 100644 (file)
@@ -28,9 +28,10 @@ BUILT_SOURCES += $(FNMATCH_H)
 # We need the following in order to create <fnmatch.h> when the system
 # doesn't have one that supports the required API.
 fnmatch.h: fnmatch.in.h
+       $(AM_V_GEN)rm -f $@-t $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          cat $(srcdir)/fnmatch.in.h; \
-       } > $@-t
+       } > $@-t && \
        mv -f $@-t $@
 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t