[tor-bugs] #26591 [Core Tor/Tor]: doc/ missing in build directory for out-of-tree builds
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Jul 1 13:00:25 UTC 2018
#26591: doc/ missing in build directory for out-of-tree builds
-------------------------+-------------------------------------------------
Reporter: kn | Owner: (none)
Type: | Status: new
enhancement |
Priority: Low | Milestone: Tor: unspecified
Component: Core | Version: Tor: unspecified
Tor/Tor |
Severity: Trivial | Keywords: source build doc autoconf packaging
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:
{{{
pre-build:
ln -sf ${WRKSRC}/doc/ ${WRKBUILD}/
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26591>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list