diff options
author | Adam Stokes <adam.stokes@ubuntu.com> | 2014-04-01 12:15:11 -0400 |
---|---|---|
committer | Adam Stokes <adam.stokes@ubuntu.com> | 2014-04-01 12:15:11 -0400 |
commit | c22b6ecd6d5bc400f12f22ab0c44027dd1423600 (patch) | |
tree | 8726a5ec2e36261432d65cd1d6d67d6765309f76 /Makefile | |
parent | b5055d8fd7c6280b779088d98f18a60a6d483db4 (diff) | |
download | sos-c22b6ecd6d5bc400f12f22ab0c44027dd1423600.tar.gz |
Use := with gmake shell function for better optimization
Also updated the REPO variable to point to new vcs location
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -3,11 +3,11 @@ # NAME = sos -VERSION = $(shell echo `awk '/^Version:/ {print $$2}' sos.spec`) -MAJOR = $(shell echo $(VERSION) | cut -f 1 -d '.') -MINOR = $(shell echo $(VERSION) | cut -f 2 -d '.') -RELEASE = $(shell echo `awk '/^Release:/ {gsub(/\%.*/,""); print $2}' sos.spec`) -REPO = https://github.com/sosreport/sosreport +VERSION := $(shell echo `awk '/^Version:/ {print $$2}' sos.spec`) +MAJOR := $(shell echo $(VERSION) | cut -f 1 -d '.') +MINOR := $(shell echo $(VERSION) | cut -f 2 -d '.') +RELEASE := $(shell echo `awk '/^Release:/ {gsub(/\%.*/,""); print $2}' sos.spec`) +REPO = https://github.com/sosreport/sos SUBDIRS = po sos sos/plugins sos/policies PYFILES = $(wildcard *.py) |