hotfix solution dir

This commit is contained in:
Paul Schneider 2021-04-04 22:20:46 +01:00
commit 3fe3e23c8e
2 changed files with 4 additions and 5 deletions

View file

@ -2,8 +2,7 @@
ifndef PRJNAME
PRJNAME := $(shell basename `pwd -P`)
endif
SOLUTIONDIR=../..
version := $(shell cat $(SOLUTIONDIR)/version.txt)
version := $(shell cat ../../version.txt)
MAKE=make
NUGETSOURCE=$(HOME)/Nupkgs
VERSION=$(version)
@ -11,7 +10,7 @@ CONFIGURATION=Debug
version-check:
ifndef version
@echo no version number specification ... please, could you try and run 'echo 1.2.3 > $(SOLUTIONDIR)version.txt' ?.
@echo no version number specification ... please, could you try and run 'echo 1.2.3 > ../../version.txt' ?.
else
@echo 'Got version number : $(version)'
endif