diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-03-24 21:50:41 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-03-24 21:52:16 +0100 |
commit | b90bb15123082d9b127a82419f06a5cbcf192ab5 (patch) | |
tree | f6216c21d9554e69b105a6f62dafecd6c800cbfa | |
parent | dcae1a3ead262c0eb41c71f6096d80da3605cca3 (diff) | |
download | sigrok-dumps-b90bb15123082d9b127a82419f06a5cbcf192ab5.tar.gz sigrok-dumps-b90bb15123082d9b127a82419f06a5cbcf192ab5.zip |
Add Makefile which builds a sigrok-dumps tarball.
-rw-r--r-- | Makefile | 29 |
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 * + |