summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClark Williams <williams@redhat.com>2009-10-14 19:13:11 -0500
committerClark Williams <williams@redhat.com>2009-10-14 19:13:11 -0500
commit6f401a9035ef9c427a3ec81df461b0b071fd9ba6 (patch)
tree775413585bf70357fc0a484ff1be0d13c114bfbe /Makefile
parentd2cbfe506002b90522b15ca3d99b9c049b8bb6b7 (diff)
downloadrteval-6f401a9035ef9c427a3ec81df461b0b071fd9ba6.tar.gz
rteval-6f401a9035ef9c427a3ec81df461b0b071fd9ba6.tar.xz
rteval-6f401a9035ef9c427a3ec81df461b0b071fd9ba6.zip
fixed tarfile creation
modified tar file creation to avoid adding cruft to the archive by explicitly copying the python and xls files required (instead of copying the rteval directory and all it's contents)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 21 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5bab542..a87e064 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,23 @@
HERE := $(shell pwd)
PACKAGE := rteval
-VERSION := $(shell awk '/Version:/ { print $$2 }' ${PACKAGE}.spec)
+VERSION := $(shell awk '/Version:/ { print $$2 }' ${PACKAGE}.spec | head -n 1)
D := 10
+PYSRC := rteval/rteval.py \
+ rteval/cyclictest.py \
+ rteval/dmi.py \
+ rteval/hackbench.py \
+ rteval/__init__.py \
+ rteval/kcompile.py \
+ rteval/load.py \
+ rteval/rtevalclient.py \
+ rteval/rtevalConfig.py \
+ rteval/rtevalMailer.py \
+ rteval/xmlout.py
+
+XSLSRC := rteval/rteval_dmi.xsl \
+ rteval/rteval_text.xsl
+
+CONFSRC := rteval/rteval.conf
runit:
[ -d ./run ] || mkdir run
@@ -20,8 +36,10 @@ install:
python setup.py --dry-run install
tarfile:
- rm -rf tarball && mkdir -p tarball/rteval-$(VERSION)
- cp -r rteval tarball/rteval-$(VERSION)
+ rm -rf tarball && mkdir -p tarball/rteval-$(VERSION)/rteval
+ cp $(PYSRC) tarball/rteval-$(VERSION)/rteval
+ cp $(XSLSRC) tarball/rteval-$(VERSION)/rteval
+ cp $(CONFSRC) tarball/rteval-$(VERSION)/rteval
cp -r doc/ tarball/rteval-$(VERSION)
cp Makefile setup.py rteval.spec COPYING tarball/rteval-$(VERSION)
tar -C tarball -cjvf rteval-$(VERSION).tar.bz2 rteval-$(VERSION)