From: Uwe Hermann Date: Sat, 24 Mar 2012 20:50:41 +0000 (+0100) Subject: Add Makefile which builds a sigrok-dumps tarball. X-Git-Tag: sigrok-dumps-0.1.0~21 X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-dumps.git;a=commitdiff_plain;h=b90bb15123082d9b127a82419f06a5cbcf192ab5;hp=dcae1a3ead262c0eb41c71f6096d80da3605cca3 Add Makefile which builds a sigrok-dumps tarball. --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..715d54a --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +## +## This file is part of the sigrok project. +## +## Copyright (C) 2012 Uwe Hermann +## +## 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## + +d=`date "+%Y%m%d"` + +all: tarball + +tarball: + @tar -c -v -z --exclude=.git --exclude=Makefile \ + --exclude=sigrok-dumps-$(d).tar.gz \ + -f sigrok-dumps-$(d).tar.gz * +