summaryrefslogtreecommitdiff
path: root/toolchain/elf2flt
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/elf2flt')
-rw-r--r--toolchain/elf2flt/elf2flt/.cvsignore1
-rwxr-xr-xtoolchain/elf2flt/elf2flt/maketarball.sh12
2 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/elf2flt/elf2flt/.cvsignore b/toolchain/elf2flt/elf2flt/.cvsignore
index 7cf4be52f..18cff9ae1 100644
--- a/toolchain/elf2flt/elf2flt/.cvsignore
+++ b/toolchain/elf2flt/elf2flt/.cvsignore
@@ -1,2 +1,3 @@
.cvsignore
.svn
+maketarball.sh
diff --git a/toolchain/elf2flt/elf2flt/maketarball.sh b/toolchain/elf2flt/elf2flt/maketarball.sh
new file mode 100755
index 000000000..10148608a
--- /dev/null
+++ b/toolchain/elf2flt/elf2flt/maketarball.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+cvs_stamp=$(cut -d/ -f4 CVS/Entries | sort | tail -n 1)
+stamp=$(date +%Y%m%d --date="${cvs_stamp}")
+
+p="elf2flt-${stamp}"
+rm -f elf2flt-*.tar.bz2
+mkdir ../${p}
+cp -r * ../${p}/ || exit 1
+tar jcf ${p}.tar.bz2 --exclude .svn -C .. ${p}
+rm -r ../${p} || exit 1
+du -b ${p}.tar.bz2