diff options
-rw-r--r-- | build-aux/Makefile.once.head/20-libretools.mk | 2 | ||||
-rw-r--r-- | build-aux/no-builtin-variables.mk | 4 | ||||
-rw-r--r-- | config.mk | 1 |
3 files changed, 7 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 ?= @@ -7,6 +7,7 @@ ifeq ($(topsrcdir),) topoutdir := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) topsrcdir := $(topoutdir) +MAKEFLAGS += --warn-undefined-variables include $(topsrcdir)/build-aux/no-builtin-variables.mk PACKAGE = libretools |