After cloning the stasher repository:

libtoolize
aclocal
automake --add-missing
autoreconf
./configure
make docs

This is needed only if checking out directly from the repository, which does
not store autogenerated files.

Then see stasher documentation for complete build instructions.