Commit a5389e33 authored by Vitaly Lipatov's avatar Vitaly Lipatov

get version from the spec by default

parent 29f76851
......@@ -6,6 +6,11 @@ cmd_list = epm serv esu
.PHONY: all clean install check install_common $(installd_list) $(cmd_list)
# get version from the spec by default
PKGVER = $(shell grep "^Version: " eepm.spec | cut -d" " -f2)
PKGREL = $(shell grep "^Release: " eepm.spec | cut -d" " -f2)
version := $(PKGVER)-$(PKGREL)
pkgdatadir=$(datadir)/eepm
install: install_common $(installd_list) $(cmd_list)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment