* top/maint.mk (gnulib_dir): If $(srcdir)/gnulib doesn't exist,
fall back to $GNULIB_SRCDIR.
+2021-01-26 Simon Josefsson <simon@josefsson.org>
+
+ maintainer-makefile: Mimic bootstrap's gnulib-srcdir guessing.
+ * top/maint.mk (gnulib_dir): If $(srcdir)/gnulib doesn't exist,
+ fall back to $GNULIB_SRCDIR.
+
2021-01-25 Bruno Haible <bruno@clisp.org>
posix_spawn_file_actions_* tests: Fix module dependencies.
# You can override this variable in cfg.mk if your gnulib submodule lives
# in a different location.
-gnulib_dir ?= $(srcdir)/gnulib
+gnulib_dir ?= $(shell if test -d $(srcdir)/gnulib; then \
+ echo $(srcdir)/gnulib; \
+ else \
+ echo ${GNULIB_SRCDIR}; \
+ fi)
# You can override this variable in cfg.mk to set your own regexp
# matching files to ignore.