changeset 40096:5d6ccca8afb9

maintainer-makefile: Make the configure.ac section optional. * top/maint.mk (GREP, SED): Define if not defined.
author Bruno Haible <bruno@clisp.org>
date Sun, 06 Jan 2019 22:30:13 +0100
parents f3ca098a0aac
children c71dbb9ccffb
files ChangeLog top/maint.mk
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jan 06 21:22:38 2019 +0100
+++ b/ChangeLog	Sun Jan 06 22:30:13 2019 +0100
@@ -1,3 +1,8 @@
+2019-01-06  Bruno Haible  <bruno@clisp.org>
+
+	maintainer-makefile: Make the configure.ac section optional.
+	* top/maint.mk (GREP, SED): Define if not defined.
+
 2019-01-06  Bruno Haible  <bruno@clisp.org>
 
 	localename: Assume setlocale function.
--- a/top/maint.mk	Sun Jan 06 21:22:38 2019 +0100
+++ b/top/maint.mk	Sun Jan 06 22:30:13 2019 +0100
@@ -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)