about summary refs log tree commit diff
path: root/Config/config.mk
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-05-10 18:29:37 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-05-10 18:29:37 +0000
commit94a6e3c22740dd259cd6435bbc5f9580337da869 (patch)
tree62ed4195544295c8832d2e29e8790b35e004accf /Config/config.mk
parent894c390b6310b23b686335d692892d34f6a654ad (diff)
downloadzsh-94a6e3c22740dd259cd6435bbc5f9580337da869.tar.gz
zsh-94a6e3c22740dd259cd6435bbc5f9580337da869.tar.xz
zsh-94a6e3c22740dd259cd6435bbc5f9580337da869.zip
11312: defs.mk depends on config.status.
Diffstat (limited to 'Config/config.mk')
-rw-r--r--Config/config.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/Config/config.mk b/Config/config.mk
index dd91476d0..8e5c59c88 100644
--- a/Config/config.mk
+++ b/Config/config.mk
@@ -25,7 +25,7 @@
 #
 
 config: Makefile
-	@subdir='$(SUBDIRS)'; for subdir in $$subdirs; do \
+	@subdirs='$(SUBDIRS)'; for subdir in $$subdirs; do \
 	  (cd $$subdir && $(MAKE) $(MAKEDEFS) $@) || exit 1; \
 	done
 
@@ -36,3 +36,7 @@ $(dir_top)/Config/defs.mk $(dir_top)/Config/version.mk
 Makefile: Makefile.in $(dir_top)/config.status $(CONFIG_INCS)
 	cd $(dir_top) && \
 	  CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
+
+$(dir_top)/Config/defs.mk: $(sdir_top)/Config/defs.mk.in $(dir_top)/config.status
+	cd $(dir_top) && \
+	  CONFIG_FILES=Config/defs.mk CONFIG_HEADERS= ./config.status