diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-02-01 18:51:57 +0100 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-02-01 18:51:57 +0100 |
commit | 90725ccd137178878b8a81cfb34e46104aec92ff (patch) | |
tree | 215013d8e0da629f98638c12bc22125b0b184fde /Makefile | |
parent | 7c8b79f848a0eca3ab4c3467509791d46e7dd5af (diff) | |
download | firstaidkit-90725ccd137178878b8a81cfb34e46104aec92ff.tar.gz firstaidkit-90725ccd137178878b8a81cfb34e46104aec92ff.tar.xz firstaidkit-90725ccd137178878b8a81cfb34e46104aec92ff.zip |
Added a Make file to handle automated tar.bz2 creation.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..804aa0d --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +# First Aid Kit - diagnostic and repair tool for Linux +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + +NAME := "firstaidkit" +VERSION := $(shell awk '/Version:/ { print $$2 }' firstaidkit.spec) +RELEASE := $(shell awk '/Release:/ { print $$2 }' firstaidkit.spec) + +tarball: + git-archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD | bzip2 -f > $(NAME)-$(VERSION).tar.bz2 |