From b90bb15123082d9b127a82419f06a5cbcf192ab5 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 24 Mar 2012 21:50:41 +0100 Subject: Add Makefile which builds a sigrok-dumps tarball. --- Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Makefile 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 * + -- cgit v1.2.3-70-g09d2