1 2 3 4 5 6 7 8 9 10
#!/bin/sh -e make make install mkdir -p "$1/usr/bin" cp bin/* "$1/usr/bin/" mkdir "$1/usr/share" cp -r man "$1/usr/share/man"