defs.mk: Add FIND_SUBDIRS convenience variable

This commit is contained in:
Jan Lindemann 2006-01-09 01:23:32 +00:00 committed by Jan Lindemann
commit 5b2792e11d

View file

@ -19,6 +19,8 @@ CVS_ROOT_DIR = $(shell test -d CVS && pwd | sed -e "s%`cat CVS/Reposit
REV_SUBDIRS = $(shell echo $(SUBDIRS) | awk '{for (i=NF; i>=1; i--) printf ("%s ",$$i)}')
FRESH_CVSDIR = $(HOME)/local/src/cvs.fresh
FIND_SUBDIRS = $(filter-out . .. ./CVS, $(shell find . -type d -maxdepth 1))
PROJECT_CAPNAME = $(shell echo $(PROJECT) | tr [a-z] [A-Z])
BINARY_VERSION = $(shell echo $(PROJECT)_$(VERSION) | tr [a-z] [A-Z] | sed 's/-[^-]*$$//')