summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-04-17 00:36:28 +0200
committerMax Kellermann <max@duempel.org>2013-04-17 00:37:30 +0200
commitac9ebe1439b3ec14e78b2fa898b435485c68e362 (patch)
treeccde05b55d644750d5dc71324e964279959c1e32
parent7b5f7c041b5926cb151e0d42cd602498bd697369 (diff)
scripts: delete obsolete scripts
-rwxr-xr-xscripts/makedist.sh25
-rwxr-xr-xscripts/mpd-indent.sh6
-rwxr-xr-xscripts/test.sh93
3 files changed, 0 insertions, 124 deletions
diff --git a/scripts/makedist.sh b/scripts/makedist.sh
deleted file mode 100755
index 7f8624d8f..000000000
--- a/scripts/makedist.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-PWD=`pwd`
-
-## If we're not in the scripts directory
-## assume the base directory.
-if test "`basename $PWD`" = "scripts"; then
- cd ../
-else
- MYOLDPWD=`pwd`
- cd `dirname $0`/../
-fi
-
-if test -e Makefile
-then
- make distclean
-fi
-./autogen.sh
-make
-make dist
-
-if test "`basename $PWD`" = "scripts"; then
- cd contrib/
-else
- cd $MYOLDPWD
-fi
diff --git a/scripts/mpd-indent.sh b/scripts/mpd-indent.sh
deleted file mode 100755
index 0bf54189a..000000000
--- a/scripts/mpd-indent.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cdw -cd0 -c0 -cp0 "$@"
-
-# there doesn't seem to be an indent switch for this, but this
-# forces goto labels to the left-most column, without indentation
-perl -i -p -e 's/^\s+(\w+):/$1:/g unless /^\s+default:/' "$@"
diff --git a/scripts/test.sh b/scripts/test.sh
deleted file mode 100755
index 739a8a6e7..000000000
--- a/scripts/test.sh
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh -e
-#
-# This shell script tests the build of MPD with various compile-time
-# options.
-#
-# Author: Max Kellermann <max@duempel.org>
-
-PREFIX=/tmp/mpd
-rm -rf $PREFIX
-
-test "x$MAKE" != x || MAKE=make
-
-export CFLAGS="-Os"
-
-test -x configure || NOCONFIGURE=1 ./autogen.sh
-
-# all features on
-./configure --prefix=$PREFIX/full \
- --disable-dependency-tracking --enable-debug --enable-werror \
- --enable-un \
- --enable-modplug \
- --enable-ao --enable-mikmod --enable-mvp
-$MAKE install
-$MAKE distclean
-
-# no UN, no oggvorbis, no flac, enable oggflac
-./configure --prefix=$PREFIX/small \
- --disable-dependency-tracking --enable-debug --enable-werror \
- --disable-un \
- --disable-flac --disable-vorbis --enable-oggflac
-$MAKE install
-$MAKE distclean
-
-# strip down (disable TCP, disable nearly all plugins)
-CFLAGS="$CFLAGS -DNDEBUG" \
-./configure --prefix=$PREFIX/tiny \
- --disable-dependency-tracking --disable-debug --enable-werror \
- --disable-tcp \
- --disable-curl \
- --disable-id3 --disable-lsr \
- --disable-ao --disable-alsa --disable-jack --disable-pulse --disable-fifo \
- --disable-shout-ogg --disable-shout-mp3 --disable-lame-encoder \
- --disable-ffmpeg --disable-wavpack --disable-mpc --disable-aac \
- --disable-flac --disable-vorbis --disable-oggflac --disable-audiofile \
- --disable-cue \
- --with-zeroconf=no
-$MAKE install
-$MAKE distclean
-
-# shout: ogg without mp3
-# sndfile instead of modplug
-./configure --prefix=$PREFIX/shout_ogg \
- --disable-dependency-tracking --disable-debug --enable-werror \
- --disable-tcp \
- --disable-curl \
- --disable-id3 --disable-lsr \
- --disable-ao --disable-alsa --disable-jack --disable-pulse --disable-fifo \
- --enable-shout-ogg --disable-shout-mp3 --disable-lame-encoder \
- --disable-ffmpeg --disable-wavpack --disable-mpc --disable-aac \
- --disable-flac --enable-vorbis --disable-oggflac --disable-audiofile \
- --disable-modplug --enable-sndfile \
- --with-zeroconf=no
-$MAKE install
-$MAKE distclean
-
-# shout: mp3 without ogg
-./configure --prefix=$PREFIX/shout_mp3 \
- --disable-dependency-tracking --disable-debug --enable-werror \
- --disable-tcp \
- --disable-curl \
- --disable-id3 --disable-lsr \
- --disable-ao --disable-alsa --disable-jack --disable-pulse --disable-fifo \
- --disable-shout-ogg --enable-shout-mp3 --enable-lame-encoder \
- --disable-ffmpeg --disable-wavpack --disable-mpc --disable-aac \
- --disable-flac --disable-vorbis --disable-oggflac --disable-audiofile \
- --with-zeroconf=no
-$MAKE install
-$MAKE distclean
-
-# oggvorbis + oggflac
-./configure --prefix=$PREFIX/oggvorbisflac \
- --disable-dependency-tracking --disable-debug --enable-werror \
- --disable-tcp \
- --disable-curl \
- --disable-id3 --disable-lsr \
- --disable-mp3 \
- --disable-ao --disable-alsa --disable-jack --disable-pulse --disable-fifo \
- --disable-shout-ogg --disable-shout-mp3 --disable-lame-encoder \
- --disable-ffmpeg --disable-wavpack --disable-mpc --disable-aac \
- --disable-flac --enable-vorbis --enable-oggflac --disable-audiofile \
- --with-zeroconf=no
-$MAKE install
-$MAKE distclean