summaryrefslogtreecommitdiff
path: root/top/maint.mk
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-01-06 22:30:13 +0100
committerBruno Haible <bruno@clisp.org>2019-01-06 22:30:13 +0100
commit8089c00979a5b089cff592c6b91420e595657167 (patch)
tree013f20b8b1cd63343aaba61a9be6947351708f97 /top/maint.mk
parentdb9aa38cc80d3a6e6f77a8a09325d4e3e1a27d97 (diff)
downloadgnulib-8089c00979a5b089cff592c6b91420e595657167.tar.gz
maintainer-makefile: Make the configure.ac section optional.
* top/maint.mk (GREP, SED): Define if not defined.
Diffstat (limited to 'top/maint.mk')
-rw-r--r--top/maint.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/top/maint.mk b/top/maint.mk
index 4b574103a3..4e37efeb56 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)