summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-31 01:23:48 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-09 15:55:47 -0400
commit14158ad5fc38836854a1a52ed03e6174a4083a96 (patch)
treecef7fc720c0019e75e8e02a2b2e6b075a822fd80 /build-aux
parentd330445fb7f84748e70e67ca5bc44ce0a1a258f7 (diff)
Makefile: run with --warn-undefined-variables
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/Makefile.once.head/20-libretools.mk2
-rw-r--r--build-aux/no-builtin-variables.mk4
2 files changed, 6 insertions, 0 deletions
diff --git a/build-aux/Makefile.once.head/20-libretools.mk b/build-aux/Makefile.once.head/20-libretools.mk
index 48964d9..d7c3b0e 100644
--- a/build-aux/Makefile.once.head/20-libretools.mk
+++ b/build-aux/Makefile.once.head/20-libretools.mk
@@ -58,6 +58,8 @@ detect-ronn = $(filter-out $(detect-ignore-ronn),$(filter %.ronn ,$(detect-a
detect-md = $(filter-out $(detect-ignore-md) ,$(filter %.ronn %.md,$(detect-all)))
detect-sh = $(filter-out $(detect-ignore-sh) ,$(filter %.sh ,$(detect-all)))
+LIBREXGETTEXT_FLAGS ?=
+
ifeq ($(wildcard $(topsrcdir)/.git),)
include $(topsrcdir)/.srcversion-libretools.mk
else
diff --git a/build-aux/no-builtin-variables.mk b/build-aux/no-builtin-variables.mk
index c236c73..c3aef58 100644
--- a/build-aux/no-builtin-variables.mk
+++ b/build-aux/no-builtin-variables.mk
@@ -9,3 +9,7 @@ $(foreach v,$(filter-out .% MAKE% SUFFIXES,$(_default_variables))\
$(filter .LIBPATTERNS MAKEINFO,$(_default_variables)),\
$(eval undefine $v))
undefine _default_variables
+
+# Because Make uses .LIBPATTERNS internally, it should always be
+# defined in case --warn-undefined-variables
+.LIBPATTERNS ?=