summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2009-02-18 19:47:15 -0500
committerAdrian Likins <alikins@redhat.com>2009-02-18 19:47:15 -0500
commitb38315c26dbcc9e626dc295fe612a0ef3c7e8596 (patch)
treec106712accbe900aa4bcf29de436e3cded455972 /Makefile
parented20b2fa1f9e733e24a17c7983d5b411623c4ecc (diff)
downloadcertmaster-b38315c26dbcc9e626dc295fe612a0ef3c7e8596.tar.gz
certmaster-b38315c26dbcc9e626dc295fe612a0ef3c7e8596.tar.xz
certmaster-b38315c26dbcc9e626dc295fe612a0ef3c7e8596.zip
remove "version" file and updated spec/makefile/setup.py to not need it
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 2f83003..75ae2b5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-VERSION = $(shell echo `awk '{ print $$1 }' version`)
-RELEASE = $(shell echo `awk '{ print $$2 }' version`)
+VERSION = 0.24
+RELEASE = 4
NEWRELEASE = $(shell echo $$(($(RELEASE) + 1)))
PYTHON = /usr/bin/python
@@ -24,13 +24,6 @@ messages: certmaster/*.py
xgettext -k_ -kN_ -o $(MESSAGESPOT) certmaster/*.py
sed -i'~' -e 's/SOME DESCRIPTIVE TITLE/certmaster/g' -e 's/YEAR THE PACKAGE'"'"'S COPYRIGHT HOLDER/2007 Red Hat, inc. /g' -e 's/FIRST AUTHOR <EMAIL@ADDRESS>, YEAR/Adrian Likins <alikins@redhat.com>, 2007/g' -e 's/PACKAGE VERSION/certmaster $(VERSION)-$(RELEASE)/g' -e 's/PACKAGE/certmaster/g' $(MESSAGESPOT)
-
-bumprelease:
- -echo "$(VERSION) $(NEWRELEASE)" > version
-
-setversion:
- -echo "$(VERSION) $(RELEASE)" > version
-
build: clean
$(PYTHON) setup.py build -f
@@ -93,7 +86,6 @@ async: install
rpms: build manpage sdist
mkdir -p rpm-build
cp dist/*.gz rpm-build/
- cp version rpm-build/
rpmbuild --define "_topdir %(pwd)/rpm-build" \
--define "_builddir %{_topdir}" \
--define "_rpmdir %{_topdir}" \