summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2009-02-18 19:41:49 -0500
committerAdrian Likins <alikins@redhat.com>2009-02-18 19:41:49 -0500
commita3bb8c6bb6717a1431bf67cd09ae21fef2cbed17 (patch)
tree28e9d312a3f109ca1cb5e808602998917b7279c7 /Makefile
parent3cba7a69aa0aec0266e1c71998eb866864f0dbd1 (diff)
downloadfunc-a3bb8c6bb6717a1431bf67cd09ae21fef2cbed17.tar.gz
func-a3bb8c6bb6717a1431bf67cd09ae21fef2cbed17.tar.xz
func-a3bb8c6bb6717a1431bf67cd09ae21fef2cbed17.zip
remove version file and update spec/makefile/setup.py
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 7e4ef53..5dec04a 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
@@ -30,12 +30,6 @@ messages:
sed -i'~' -e 's/SOME DESCRIPTIVE TITLE/func/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/func $(VERSION)-$(RELEASE)/g' -e 's/PACKAGE/func/g' $(MESSAGESPOT)
-bumprelease:
- -echo "$(VERSION) $(NEWRELEASE)" > version
-
-setversion:
- -echo "$(VERSION) $(RELEASE)" > version
-
build: clean
$(PYTHON) setup.py build -f
@@ -82,8 +76,6 @@ clean_rpms:
sdist: messages
$(PYTHON) setup.py sdist
-new-rpms: bumprelease rpms
-
pychecker:
-for d in $(PYDIRS); do ($(MAKE) -C $$d pychecker ); done
pyflakes:
@@ -106,7 +98,6 @@ unittest:
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}" \