summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-02-20 10:09:43 +0100
committerJoel Andres Granados <jgranado@redhat.com>2008-02-20 10:09:49 +0100
commit8e84f993dac407c1fead5b2502f7731f980bec03 (patch)
tree9d05377b97f5324a78d18dbebeb449bad7cf0a47 /Makefile
parentf308a3885e0b82356bc30a496211b2ffd9355c61 (diff)
downloadfirstaidkit-8e84f993dac407c1fead5b2502f7731f980bec03.tar.gz
firstaidkit-8e84f993dac407c1fead5b2502f7731f980bec03.tar.xz
firstaidkit-8e84f993dac407c1fead5b2502f7731f980bec03.zip
Include making the rpm and srpm in the makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 804aa0d..ab56b67 100644
--- a/Makefile
+++ b/Makefile
@@ -21,3 +21,7 @@ RELEASE := $(shell awk '/Release:/ { print $$2 }' firstaidkit.spec)
tarball:
git-archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD | bzip2 -f > $(NAME)-$(VERSION).tar.bz2
+
+rpm-all: tarball
+ rpmbuild -ta $(NAME)-$(VERSION).tar.bz2
+ rm -f $(NAME)-$(VERSION).tar.bz2