aboutsummaryrefslogtreecommitdiffstats
path: root/bs/mkdist.sh
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-16 15:00:00 +0200
committerMax Kellermann <max@duempel.org>2008-10-16 15:00:00 +0200
commitc0a9ef980f94f12fdd9ba7d1949b2a05111b5ade (patch)
tree701f519b553d9f94ac396183146cd9f37cd55397 /bs/mkdist.sh
parent9b5ce27c3b517c501bb13a534d50476e11751262 (diff)
downloadmpd-c0a9ef980f94f12fdd9ba7d1949b2a05111b5ade.tar.gz
mpd-c0a9ef980f94f12fdd9ba7d1949b2a05111b5ade.tar.xz
mpd-c0a9ef980f94f12fdd9ba7d1949b2a05111b5ade.zip
removed the "bs" build scripts
autotools are somewhat ugly, but that doesn't justify duplicating its effort with another complex build system.
Diffstat (limited to 'bs/mkdist.sh')
-rwxr-xr-xbs/mkdist.sh50
1 files changed, 0 insertions, 50 deletions
diff --git a/bs/mkdist.sh b/bs/mkdist.sh
deleted file mode 100755
index 130871345..000000000
--- a/bs/mkdist.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-set -e
-. bs/pkginfo.sh
-head=${1-'HEAD'}
-git_ver=
-if git rev-parse --git-dir > /dev/null 2>&1; then
- git_ver=`git describe $head`
- git_ver=`expr "z$git_ver" : 'z.*\(-g[0-9a-f].*\)' || true`
- if test -n "$git_ver"; then
- dirty=`git diff-index --name-only HEAD 2>/dev/null || true`
- if test -n "$dirty"; then
- git_ver=$git_ver-dirty
- fi
- fi
-fi
-
-v=$v$git_ver
-dir=$O/$p-$v
-rm -rf "$dir"
-git tar-tree $head $dir | tar x
-
-at_files='
-Makefile.in
-aclocal.m4
-compile
-config.guess
-config.h.in
-config.sub
-configure
-depcomp
-doc/Makefile.in
-install-sh
-ltmain.sh
-missing
-mkinstalldirs
-src/Makefile.in
-src/mp4ff/Makefile.in
-'
-
-for i in $at_files; do
- if test -f $i; then
- echo cp $i $dir/$i
- cp $i $dir/$i
- fi
-done
-
-cd $O
-tar c $p-$v | gzip -9 > $p-$v.tar.gz
-rm -rf $p-$v
-echo "Generated tarball in: $p-$v.tar.gz"