Skip to content

Commit 53af5cf

Browse files
committed
Makefile.common: include VERSION_MINOR from specfile
This allows scripts (particularly configure) to get access to the version information in the same way src/Makefile does to generate pkgconfig definitions. Signed-off-by: Christian Hergert <[email protected]>
1 parent 919755a commit 53af5cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile.common

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ NAME=liburing
33
SPECFILE=$(TOP)/$(NAME).spec
44
VERSION=$(shell awk '/Version:/ { print $$2 }' $(SPECFILE))
55
VERSION_MAJOR=$(shell echo $(VERSION) | cut -d. -f1)
6+
VERSION_MINOR=$(shell echo $(VERSION) | cut -d. -f2)
67
TAG = $(NAME)-$(VERSION)

0 commit comments

Comments
 (0)