about summary refs log tree commit diff
path: root/Config
diff options
context:
space:
mode:
Diffstat (limited to 'Config')
-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