Building Stepmania from Source on Ubuntu

Just a reminder for the next time I need to build Stepmania from source.

First of all, the process is here:

And here is the bulk script that can be copy pasted into the console:

#install dependencies
sudo apt-get install autoconf automake mesa-common-dev libglu1-mesa-dev libxtst-dev libxrandr-dev libpng12-dev libjpeg8-dev zlib1g-dev libbz2-dev libogg-dev libvorbis-dev libc6-dev yasm binutils-dev libgtk2.0-dev libmad0-dev
#and then:
git clone && \
cd stepmania && \
./ && \
./configure && \
make && \
cp src/ ./ && \
cp src/stepmania ./