yavsc/scripts/make/versioning.mk

16 lines
372 B
Makefile
Raw Normal View History

2018-05-04 10:45:45 +02:00
ifndef PRJNAME
2018-05-04 10:45:45 +02:00
PRJNAME := $(shell basename `pwd -P`)
endif
2021-04-04 22:20:46 +01:00
version := $(shell cat ../../version.txt)
2018-05-04 10:45:45 +02:00
MAKE=make
NUGETSOURCE=$(HOME)/Nupkgs
2019-07-21 01:28:38 +02:00
VERSION=$(version)
2018-07-25 02:12:13 +02:00
CONFIGURATION=Debug
2019-08-03 11:45:31 +02:00
version-check:
ifndef version
2021-04-04 22:20:46 +01:00
@echo no version number specification ... please, could you try and run 'echo 1.2.3 > ../../version.txt' ?.
2019-08-03 11:45:31 +02:00
else
@echo 'Got version number : $(version)'
endif