]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/make/stepmake.make
patch::: 1.4.1.jcn2
[lilypond.git] / stepmake / make / stepmake.make
index b98bd15401be1a5bc272f298ed95cd772ae10f68..f0fb538cab0e1c668ed4200955c423481de707ff 100644 (file)
@@ -65,7 +65,8 @@ LOCALSTEPMAKE_TEMPLATES:= generic $(LOCALSTEPMAKE_TEMPLATES)
 # Don't try to outsmart us, you puny computer!
 # Well, UGH.  This only removes builtin rules from
 # subsequent $(MAKE)s, *not* from the current run!
-ifeq (0,${MAKELEVEL})
+ifeq ($(BUILTINS_REMOVED),)
+  export BUILTINS_REMOVED = yes
   MAKE:=$(MAKE) --no-builtin-rules
   include $(stepdir)/no-builtin-rules.make
 endif