Преглед на файлове

Fix out-of-tree builds.

See #6506
Arlo Breault преди 11 години
родител
ревизия
15c6a9b023
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

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