From aef7edf7370f283f7af14946dec78f330753387c Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sun, 17 Dec 2017 20:45:11 +0000 Subject: [PATCH] projects-dir.mk: Fill PROJECTS by */Makefile Make the PROJECTS variable default to all subdirectories containing Makefiles. Signed-off-by: Jan Lindemann --- make/projects-dir.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/projects-dir.mk b/make/projects-dir.mk index cb915dac..3c623e8e 100644 --- a/make/projects-dir.mk +++ b/make/projects-dir.mk @@ -26,7 +26,7 @@ ifneq ($(wildcard projects.txt),) # TODO: this could be nicer CVS_PROJECTS = $(PROJECTS) else - PROJECTS ?= $(shell ls -d */CVS */.git 2>/dev/null | sed 's%/[^/]*%%') + PROJECTS ?= $(shell ls -d */Makefile 2>/dev/null | sed 's%/[^/]*%%') CVS_PROJECTS = $(filter $(dir $(wildcard */CVS)),$(PROJECTS)) endif