diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-02-20 10:09:43 +0100 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-02-20 10:09:49 +0100 |
commit | 8e84f993dac407c1fead5b2502f7731f980bec03 (patch) | |
tree | 9d05377b97f5324a78d18dbebeb449bad7cf0a47 /Makefile | |
parent | f308a3885e0b82356bc30a496211b2ffd9355c61 (diff) | |
download | firstaidkit-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-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |