mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk: Fix PROJECT as generated from project directory name
This commit is contained in:
parent
ba3f8659ce
commit
0ebf719d10
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue