bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getopt-posix, utime-h: fix Makefile dependencies


From: Bruno Haible
Subject: getopt-posix, utime-h: fix Makefile dependencies
Date: Mon, 06 Aug 2018 12:39:44 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-130-generic; KDE/5.18.0; x86_64; ; )

2018-08-06  Bruno Haible  <address@hidden>

        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.

diff --git a/modules/getopt-posix b/modules/getopt-posix
index a782563..5ee7bfd 100644
--- a/modules/getopt-posix
+++ b/modules/getopt-posix
@@ -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 address@hidden $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
diff --git a/modules/utime-h b/modules/utime-h
index a60f45a..5cd5317 100644
--- a/modules/utime-h
+++ b/modules/utime-h
@@ -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 address@hidden $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \




reply via email to

[Prev in Thread] Current Thread [Next in Thread]