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)

View file

@ -5,7 +5,6 @@
PROJECT = ytools
MODDIR = $(TOPDIR)
CVS_PROJ_DIR = $(TOPDIR)/..
REQUIRED = inst/pre \
make \

View file

@ -13,7 +13,6 @@ AUTHORS ?=
#SUBTITLE ?= Dienstgüte-Vereinbarungen
DATE ?= $(shell date +'%Y/%m/%d')
#CONFIDENTIAL_REMARK ?= Vertraulich
#CVSTOPDIR ?= $(CVS_PROJ_DIR)/..
# -- files
MAIN ?= main