Eric Blake wrote: > I've now applied the patches, with tweaks as discussed on 1/2.
In GNU gettext, I now see this message when using the top-level GNUmakefile: /bin/bash: rsyncable: command not found The reason is that GNU gettext imports the relevant files directly (via 'gnulib-tool --copy-file'), ignoring the module description. This is a reasonable thing to do, since GNU gettext does not ship GNUmakefile nor maint.mk in the tarballs; it uses them only in the git checkouts. This patch fixes it for me. 2019-01-06 Bruno Haible <[email protected]> maintainer-makefile: Make the configure.ac section optional. * top/maint.mk (GREP, SED): Define if not defined. diff --git a/top/maint.mk b/top/maint.mk index 4b57410..4e37efe 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -21,6 +21,12 @@ # ME := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) ME := maint.mk +# These variables ought to be defined through the configure.ac section +# of the module description. But some packages import this file directly, +# ignoring the module description. +GREP ?= grep +SED ?= sed + # Helper variables. _empty = _sp = $(_empty) $(_empty)
