• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1TOP := $(dir $(CURDIR)/$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
2NAME=liburing
3SPECFILE=$(TOP)/$(NAME).spec
4VERSION=$(shell awk '/Version:/ { print $$2 }' $(SPECFILE))
5VERSION_MAJOR=$(shell echo $(VERSION) | cut -d. -f1)
6VERSION_MINOR=$(shell echo $(VERSION) | cut -d. -f2)
7TAG = $(NAME)-$(VERSION)
8