make distcheck on macOS ignores --disable-asciidoc in its second configure invocation
I build tor on macos using:
git clone https://git.torproject.org/tor.git cd tor mkdir build-c ../configure --disable-asciidoc --with-libevent-dir=/usr/local --with-openssl-dir=/usr/local/opt/openssl --enable-lzma --enable-zstd --enable-libscrypt CC=clang --enable-gcc-warnings --enable-expensive-hardening make distcheck
Which fails with:
checking whether the compiler accepts @warning_flags... yes ================================== Building Tor has failed since manpages cannot be built. You need asciidoc installed to be able to build the manpages. To build without manpages, use the --disable-asciidoc argument when calling configure. ================================== make: *** [distcheck] Error 1 Exit 2
What am I doing wrong? Does "make distcheck" support a build directory inside tor/ ?
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information