Opened 2 years ago

#26591 new enhancement

doc/ missing in build directory for out-of-tree builds

Reported by: kn Owned by:
Priority: Low Milestone: Tor: unspecified
Component: Core Tor/Tor Version: Tor: unspecified
Severity: Trivial Keywords: source build doc autoconf packaging
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


autoconf allows building tor outside the source directory using --srcdir=DIR.
In that case, doc/ is not copied or symlinked from source to build directory, causing pages to be unnesseccarily regenerated using rst2man.

Would it be possible to adjust the configure stage to account for this?

Specifically, this would allow complete out-of-tree builds at least on OpenBSD, where where the following quirk is required after configure and before build stage to enable separation without py-docutils as additional build dependency:

        ln -sf ${WRKSRC}/doc/ ${WRKBUILD}/

Child Tickets

Change History (0)

Note: See TracTickets for help on using tickets.