mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
projects-dir.mk: Improved usage of projects.txt
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
d919e06293
commit
c11e37ae39
1 changed files with 5 additions and 4 deletions
|
|
@ -1,9 +1,10 @@
|
|||
CVS_PROJECTS = $(dir $(wildcard */CVS))
|
||||
|
||||
ifneq ($(wildcard projects.txt),)
|
||||
PROJECTS = $(shell cat projects.txt | sed '/^ *#/ d')
|
||||
PROJECTS = $(shell cat projects.txt | sed '/^ *\#/ d')
|
||||
# TODO: this could be nicer
|
||||
CVS_PROJECTS = $(PROJECTS)
|
||||
else
|
||||
PROJECTS = fill me
|
||||
PROJECTS = $(dir $(wildcard */CVS */.git))
|
||||
CVS_PROJECTS = $(dir $(wildcard */CVS))
|
||||
endif
|
||||
|
||||
WHOAMI = $(shell id -un)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue