Fix out-of-tree builds.

See #6506
This commit is contained in:
Arlo Breault 2013-05-17 12:25:42 -07:00 committed by Nick Mathewson
parent f5cf614ed3
commit 15c6a9b023

View File

@ -1471,7 +1471,7 @@ AC_CONFIG_FILES([
if test x$asciidoc = xtrue && test $ASCIIDOC = "none" ; then
regular_mans=(doc/tor doc/tor-gencert doc/tor-resolve doc/torify)
for file in $regular_mans ; do
if ! [[ -f $file.1.in ]] || ! [[ -f $file.html.in ]] ; then
if ! [[ -f $srcdir/$file.1.in ]] || ! [[ -f $srcdir/$file.html.in ]] ; then
echo "==================================";
echo;
echo "You need asciidoc installed to be able to build the manpage.";