]> Savannah Git Hosting - gnulib.git/commitdiff
getopt-posix, utime-h: Ensure the .h file gets regenerated when needed.
authorBruno Haible <bruno@clisp.org>
Mon, 6 Aug 2018 10:39:04 +0000 (12:39 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 6 Aug 2018 10:39:04 +0000 (12:39 +0200)
* modules/getopt-posix (Makefile.am): Add Makefile dependency for
getopt.h.
* modules/utime-h (Makefile.am): Add Makefile dependency for utime.h.

ChangeLog
modules/getopt-posix
modules/utime-h

index c7d0999d4dd689867f9a2b86a16915cf73eb0437..8d847e276e6f241288c6180e1b1ddc2f096b495d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-08-06  Bruno Haible  <bruno@clisp.org>
+
+       getopt-posix, utime-h: Ensure the .h file gets regenerated when needed.
+       * modules/getopt-posix (Makefile.am): Add Makefile dependency for
+       getopt.h.
+       * modules/utime-h (Makefile.am): Add Makefile dependency for utime.h.
+
 2018-08-05  Bruno Haible  <bruno@clisp.org>
 
        utime-h: Generate header file when module 'posixcheck' is in use.
index a7825635af4e47d04f133d362410d35069574334..5ee7bfd6cd18883ffcd4787bdeb92980f7c235dd 100644 (file)
@@ -35,7 +35,7 @@ BUILT_SOURCES += $(GETOPT_H) $(GETOPT_CDEFS_H)
 
 # We need the following in order to create <getopt.h> when the system
 # doesn't have one that works with the given compiler.
-getopt.h: getopt.in.h $(top_builddir)/config.status
+getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
        $(AM_V_GEN)rm -f $@-t $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
index a60f45a7bcd5560772a6933cc7cbd695d2d2e41e..5cd5317c7dc32809024f1e221dd88cf55aa4b81f 100644 (file)
@@ -20,7 +20,7 @@ BUILT_SOURCES += $(UTIME_H)
 # We need the following in order to create <utime.h> when the system
 # doesn't have one that works with the given compiler.
 if GL_GENERATE_UTIME_H
-utime.h: utime.in.h $(top_builddir)/config.status
+utime.h: utime.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
        $(AM_V_GEN)rm -f $@-t $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \