about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Src/Makefile.in b/Src/Makefile.in
index 98348e645..bcbecad8e 100644
--- a/Src/Makefile.in
+++ b/Src/Makefile.in
@@ -221,7 +221,10 @@ mostlyclean-modules clean-modules distclean-modules realclean-modules:
 
 install.modules uninstall.modules \
 modobjs modules headers proto $(MAIN_OBJS) zsh.export: Makemod
+	@if [ ! -f Builtins/Makefile.in ]; then \
+	   $(MAKE) prep; \
+	fi
 	@$(MAKE) -f Makemod $(MAKEDEFS) $@
-.PHONY: install.modules uninstall.modules
+.PHONY: headers proto
 
 $(MAIN_OBJS): $(sdir)/zsh.h