mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
projects-dir.mk: Fill PROJECTS by */Makefile
Make the PROJECTS variable default to all subdirectories containing Makefiles. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
13255763fe
commit
aef7edf737
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue