aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Stokes <adam.stokes@ubuntu.com>2014-04-01 12:15:11 -0400
committerAdam Stokes <adam.stokes@ubuntu.com>2014-04-01 12:15:11 -0400
commitc22b6ecd6d5bc400f12f22ab0c44027dd1423600 (patch)
tree8726a5ec2e36261432d65cd1d6d67d6765309f76 /Makefile
parentb5055d8fd7c6280b779088d98f18a60a6d483db4 (diff)
downloadsos-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--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 92e31171..274e60bb 100644
--- a/Makefile
+++ b/Makefile
@@ -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)