aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorsconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2006-08-30 18:08:28 +0000
committersconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2006-08-30 18:08:28 +0000
commitb088a1df71e592b734d90d0f8af928aaae190dfb (patch)
treeb70d58f668e70e7a84769c067fdb71be044f3e0b /src/Makefile
parentae336e387650fbe872ede117dce7cb5078b2f234 (diff)
downloadsos-b088a1df71e592b734d90d0f8af928aaae190dfb.tar.gz
Separated upstream and build versioning, rolled to a 1.0 release number, cleaned up
spec file. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@46 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile
index b87d7d14..a480fd12 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,10 +3,9 @@
#
NAME = sos
-VERSION = $(shell awk '/define version/ { print $$3 }' sos.spec)
-RELEASE = $(shell awk '/define release/ { print $$3 }' sos.spec)
+VERSION = $(shell awk '/Version/ { print $$2 }' sos.spec)
REPO = https://sos.108.redhat.com/svn/sos
-SVNTAG = r$(subst .,-,$(VERSION)-$(RELEASE))
+SVNTAG = r$(subst .,-,$(VERSION))
all:
@@ -39,7 +38,7 @@ install:
python setup.py install
version:
- @echo "The version is $(NAME)-$(VERSION)-$(RELEASE)"
+ @echo "The version is $(NAME)-$(VERSION)"
clean:
- @rm -fv *~ .*~ changenew ChangeLog.old $(NAME)-$(VERSION)-$(RELEASE).tar.bz2
+ @rm -fv *~ .*~ changenew ChangeLog.old $(NAME)-$(VERSION).tar.bz2