diff options
author | Clark Williams <williams@redhat.com> | 2009-10-14 19:13:11 -0500 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2009-10-14 19:13:11 -0500 |
commit | 6f401a9035ef9c427a3ec81df461b0b071fd9ba6 (patch) | |
tree | 775413585bf70357fc0a484ff1be0d13c114bfbe /Makefile | |
parent | d2cbfe506002b90522b15ca3d99b9c049b8bb6b7 (diff) | |
download | rteval-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-- | Makefile | 24 |
1 files changed, 21 insertions, 3 deletions
@@ -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) |