[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #26591 [Core Tor/Tor]: doc/ missing in build directory for out-of-tree builds



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs