summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-03-24 21:50:41 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-03-24 21:52:16 +0100
commitb90bb15123082d9b127a82419f06a5cbcf192ab5 (patch)
treef6216c21d9554e69b105a6f62dafecd6c800cbfa
parentdcae1a3ead262c0eb41c71f6096d80da3605cca3 (diff)
downloadsigrok-dumps-b90bb15123082d9b127a82419f06a5cbcf192ab5.tar.gz
sigrok-dumps-b90bb15123082d9b127a82419f06a5cbcf192ab5.zip
Add Makefile which builds a sigrok-dumps tarball.
-rw-r--r--Makefile29
1 files changed, 29 insertions, 0 deletions
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 <uwe@hermann-uwe.de>
+##
+## 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 *
+