defs.mk: Add automatic creation of PROJECT_CAPNAME variable

This commit is contained in:
Jan Lindemann 2005-11-20 19:21:33 +00:00 committed by Jan Lindemann
commit 83be852457

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
PROJECT_CAPNAME = $(shell echo $(PROJECT) | tr [a-z] [A-Z])
BINARY_VERSION = $(shell echo $(PROJECT)_$(VERSION) | tr [a-z] [A-Z] | sed 's/-[^-]*$$//')
FTP_PCKG_DIR = /pub/packages
JANNET_PROJ_DIR = rsync_ssh://ftp.jannet.de:/home/ftp/dat$(FTP_PCKG_DIR)