+2024-06-11 Bruno Haible <bruno@clisp.org>
+
+ parse-datetime: Revert last commit.
+ * modules/parse-datetime (Makefile.am): Remove the '$(srcdir)/' prefix
+ from the target. Add a comment.
+
2024-06-11 Paul Eggert <eggert@cs.ucla.edu>
mktempd: use GNU-style -t if available
# Additionally, here we assume GNU Bison and therefore don't need the ylwrap
# script.
# Therefore we override this rule.
-$(srcdir)/parse-datetime.c: parse-datetime.y
+# Unfortunately, overriding the Automake generated .y.c rule does not work in
+# VPATH builds with OpenBSD make. Therefore, for VPATH builds on OpenBSD, the
+# user will need GNU make.
+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"|' \