Skip to content

Instantly share code, notes, and snippets.

@njh
Created April 15, 2011 19:48
Show Gist options
  • Save njh/922347 to your computer and use it in GitHub Desktop.
Save njh/922347 to your computer and use it in GitHub Desktop.
#!/bin/sh
if [ -e Makefile ]; then
make maintainer-clean
fi
# This is in maintainer/debug mode
./autogen.sh
make
make distdir
make clean
# This is in normal mode
./configure --prefix=$TARGET_DIR
make
make install
make check
make dist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment