changeset 2375:2023ebb23822

Load only *.mk files of packages mentioned in index.html This avoids confusion when left-over files were accidently loaded. For more information, see: http://lists.nongnu.org/archive/html/mingw-cross-env-list/2012-03/msg00156.html
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 31 Mar 2012 13:10:47 +0200
parents da62ac2a6890
children 477a6e439c92
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Mar 30 15:57:38 2012 +0200
+++ b/Makefile	Sat Mar 31 13:10:47 2012 +0200
@@ -115,7 +115,7 @@
         '$(TOP_DIR)/index.html' \
 )))
 
-include $(TOP_DIR)/src/*.mk
+include $(patsubst %,$(TOP_DIR)/src/%.mk,$(PKGS))
 
 .PHONY: download
 download: $(addprefix download-,$(PKGS))