oetiker/SmokePing — pull request #3 by twilde (2011-10-29 22:11:31+00:00)
Title: Make $prefix available for HTDOCSDIR

make install when neither --prefix nor --with-htdocs-dir were used was installing the htdocs into $dist_dir/htdocs/NONE/htdocs because $prefix is set to 'NONE' if the default is being used. Code lifted from the Tor Project's configure.in to handle this.