summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-08-18 22:50:51 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-08-18 22:54:04 +0200
commit4b30182fc569f99925d6c73b9235fa728afa4ce8 (patch)
tree5e58b3f5529f2836df74601961b407decc96d7a1 /packaging
parent2497269351b9ac46d4f0852f52244df7aa4d211b (diff)
downloadmana-4b30182fc569f99925d6c73b9235fa728afa4ce8.tar.gz
mana-4b30182fc569f99925d6c73b9235fa728afa4ce8.tar.bz2
mana-4b30182fc569f99925d6c73b9235fa728afa4ce8.tar.xz
mana-4b30182fc569f99925d6c73b9235fa728afa4ce8.zip
Added a script to make the Mana source distribution
Uses 'git archive' to create a .tar.gz of all the files in the repository. This replaces the 'make dist' target when we stop using automake/autoconf.
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/make-dist.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/make-dist.sh b/packaging/make-dist.sh
new file mode 100755
index 00000000..d3838d60
--- /dev/null
+++ b/packaging/make-dist.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+if [ "$#" -eq "0" ]; then
+ echo "Usage: make-dist.sh <version>"
+ exit 1
+fi
+name="mana-$1"
+git archive -v --prefix="$name/" HEAD | gzip > "$name.tar.gz"
+echo "Release ready as $name.tar.gz"