defs.mk: Replace "-" by "_" in PROJECT_CAPNAME

This commit is contained in:
Jan Lindemann 2007-06-16 18:55:12 +00:00 committed by Jan Lindemann
commit a8bd703c7d

View file

@ -46,7 +46,7 @@ FRESH_CVSDIR = $(HOME)/local/src/cvs.fresh
ARCH = @ARCH@
FIND_SUBDIRS = $(filter-out . .. ./nomake ./CVS $(addprefix ./,$(IGNORE_SUBDIRS)), $(shell find . -maxdepth 1 -type d))
PROJECT_CAPNAME = $(shell echo $(PROJECT) | tr [a-z] [A-Z])
PROJECT_CAPNAME = $(shell echo $(PROJECT) | tr [a-z] [A-Z] | sed 's/-/_/g')
BINARY_VERSION = $(shell echo $(PROJECT)_$(VERSION) | tr [a-z] [A-Z] | sed 's/-[^-]*$$//; s/-/_/g')
FTP_PCKG_DIR = /pub/packages