defs.mk: Define CVSTOPDIR and CVS_PROJ_DIR

Push CVSTOPDIR from tex.mk and CVS_PROJ_DIR from proj.mk to defs.mk.in.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2014-06-25 12:46:11 +00:00
commit c8d4bccddb
3 changed files with 3 additions and 2 deletions

View file

@ -37,6 +37,9 @@ SED = sed
CAT = /bin/cat
SHELL = /bin/bash
CVS_PROJ_DIR ?= $(TOPDIR)/..
CVSTOPDIR ?= $(CVS_PROJ_DIR)/..
PROJECT_DESCR_FILE ?= $(wildcard $(TOPDIR)/doc/share/project.txt)
PROJECT ?= $(patsubst $(FLAVOUR_PREFIX)%,%,$(notdir $(shell cd $(TOPDIR); pwd | $(SED) 's/.*\///; s/-[0-9].*//')))
PROJECT_SHORT_NAME ?= $(PROJECT)