make: Replace pwd by $(PWD)

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-12-18 13:45:55 +00:00
commit f70465cbd5
17 changed files with 25 additions and 25 deletions

View file

@ -3,13 +3,13 @@
# contact@jannet.de
# $Id$
DIR_BASENAME = $(notdir $(shell pwd))
DIR_BASENAME = $(notdir $(shell $(PWD)))
ifeq ($(EXE_BASENAME),)
ifneq ($(DIR_BASENAME),test)
EXE_BASENAME = $(DIR_BASENAME)
else
EXE_BASENAME = test-$(notdir $(shell cd ..; pwd))
EXE_BASENAME = test-$(notdir $(shell cd ..; $(PWD)))
endif
endif