defs.mk: Fix PROJECT as generated from project directory name

This commit is contained in:
Jan Lindemann 2007-08-27 15:03:00 +00:00 committed by Jan Lindemann
commit 0ebf719d10

View file

@ -18,7 +18,7 @@ endif
# ----- standard variables # ----- standard variables
PROJECT ?= $(notdir $(shell cd $(TOPDIR); pwd | sed 's/-[0-9].*//')) PROJECT ?= $(notdir $(shell cd $(TOPDIR); pwd | sed 's/.*\///; s/-[0-9].*//'))
PROJECT_CAPNAME = $(shell echo $(PROJECT) | tr [a-z] [A-Z] | sed 's/-/_/g') PROJECT_CAPNAME = $(shell echo $(PROJECT) | tr [a-z] [A-Z] | sed 's/-/_/g')
PROJECT_DESCR ?= No description PROJECT_DESCR ?= No description
CUSTOMER ?= jannet CUSTOMER ?= jannet