1 2 3 4 5 6 7
#!/bin/sh -e make PREFIX=/usr LDFLAGS="$LDFLAGS -static" make PREFIX=/usr DESTDIR="$1" install ln -s samu "$1/usr/bin/ninja" ln -s samu.1 "$1/usr/share/man/man1/ninja.1"