summaryrefslogtreecommitdiff
path: root/build-aux/Makefile.head.mk
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-12 14:40:34 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-12 14:40:34 -0400
commit0c09c5ba51c6165ef7e714e3e946e6cd7afc9cec (patch)
tree8f91d8f14d6182ddbb8c7b425afd2eceded987fa /build-aux/Makefile.head.mk
parent4cb2380233342aa01fda978be775c9a735fce3a2 (diff)
fix
Diffstat (limited to 'build-aux/Makefile.head.mk')
-rw-r--r--build-aux/Makefile.head.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/build-aux/Makefile.head.mk b/build-aux/Makefile.head.mk
index 11b1374a32..36c2c0a2e8 100644
--- a/build-aux/Makefile.head.mk
+++ b/build-aux/Makefile.head.mk
@@ -14,7 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# This bit only gets evaluated once, at the very beginning
-ifeq ($(_at.NO_ONCE),)
+ifeq ($(origin _at.NO_ONCE),undefined)
ifeq ($(topsrcdir),)
$(error topsrcdir must be set before including Makefile.head.mk)
@@ -50,6 +50,9 @@ _at.reverse = $(if $1,$(call _at.reverse,$(_at.rest))) $(firstword $1)
at.dirlocal += at.subdirs
at.dirlocal += at.depdirs
+_at.outdirs ?=
+_at.included_makefiles ?=
+
include $(sort $(wildcard $(topsrcdir)/build-aux/Makefile.once.head/*.mk))
endif # _at.NO_ONCE