Ensure to rebuild generated .h files when config.status has changed.
[pspp] / modules / sys_ioctl
index 669f70b08473474daac6f4150fc0e2202b5c612a..d0130dafa6f6c8129a532a791a15ab6d97d6f37c 100644 (file)
@@ -20,7 +20,7 @@ BUILT_SOURCES += sys/ioctl.h
 
 # We need the following in order to create <sys/ioctl.h> when the system
 # does not have a complete one.
-sys/ioctl.h: sys_ioctl.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
+sys/ioctl.h: sys_ioctl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
        $(AM_V_at)$(MKDIR_P) sys
        $(AM_V_GEN)rm -f $@-t $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \