From: Uwe Hermann Date: Thu, 19 Apr 2012 17:19:17 +0000 (+0200) Subject: Add Makefile with 'make dist' target (for tarball). X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=bb26f528d19c1c73d4cb4fbd51b87aaf9b0126c3;p=sigrok-firmware.git Add Makefile with 'make dist' target (for tarball). --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8b84716 --- /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 +## + +VERSION = "0.1.0" + +all: tarball + +tarball: + @tar -c -v -z --exclude=.git --exclude=Makefile \ + --exclude=sigrok-firmware-$(VERSION).tar.gz \ + -f sigrok-firmware-$(VERSION).tar.gz * +