]> Savannah Git Hosting - gnulib.git/commitdiff
parse-datetime: Add support for VPATH builds with OpenBSD 'make'.
authorBruno Haible <bruno@clisp.org>
Tue, 11 Jun 2024 21:31:33 +0000 (23:31 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 11 Jun 2024 21:31:33 +0000 (23:31 +0200)
* modules/parse-datetime (Makefile.am): Prefix the target file name
with '$(srcdir)/'.

ChangeLog
modules/parse-datetime

index da884143dd74b8f76579fe1fbe38a26fb92234ef..caef27ff722b66b7ac3a472cf5b34e62035777d2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-06-11  Bruno Haible  <bruno@clisp.org>
+
+       parse-datetime: Add support for VPATH builds with OpenBSD 'make'.
+       * modules/parse-datetime (Makefile.am): Prefix the target file name
+       with '$(srcdir)/'.
+
 2024-06-11  Collin Funk  <collin.funk1@gmail.com>
 
        mktempd: Invoke mktemp portably.
index 64b3b09913154fd377e087792ea28d81db8540e8..a49d3667ddb6f150e16c810fc51524951515b466 100644 (file)
@@ -46,7 +46,7 @@ Makefile.am:
 # Additionally, here we assume GNU Bison and therefore don't need the ylwrap
 # script.
 # Therefore we override this rule.
-parse-datetime.c: parse-datetime.y
+$(srcdir)/parse-datetime.c: parse-datetime.y
        $(AM_V_YACC)$(PARSE_DATETIME_BISON) $(YFLAGS) $(AM_YFLAGS) $(srcdir)/parse-datetime.y \
        && test ':' = '$(PARSE_DATETIME_BISON)' || { \
          sed -e 's|".*/parse-datetime\.y"|"parse-datetime.y"|' \