From 4b30182fc569f99925d6c73b9235fa728afa4ce8 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Wed, 18 Aug 2010 22:50:51 +0200 Subject: 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. --- packaging/make-dist.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 packaging/make-dist.sh (limited to 'packaging') 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 " + exit 1 +fi +name="mana-$1" +git archive -v --prefix="$name/" HEAD | gzip > "$name.tar.gz" +echo "Release ready as $name.tar.gz" -- cgit v1.2.3-70-g09d2