Bug 13750 - Do not build manuals in source directory
Summary: Do not build manuals in source directory
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: manual (show other bugs)
Version: 2.15
: P2 normal
Target Milestone: ---
Assignee: Andreas Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-24 21:21 UTC by Joseph Myers
Modified: 2014-06-26 14:38 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Myers 2012-02-24 21:21:25 UTC
Building manuals in the source directory made sense when info manuals (and generated Texinfo sources used to build them, I think) were included in release tarballs (as still mentioned, inaccurately, in install.texi: "The distribution already includes the on-line formatted version of the manual, as Info files.  You can regenerate those with @w{@code{make info}}, but it shouldn't be necessary.").  Now "make dist" uses "git archive" and these files do not go in the tarballs.  It would seem appropriate to build all formats of documentation (other than the special INSTALL and NOTES files) in the build directory only (removing manual/.gitignore).
Comment 1 Andreas Jaeger 2012-05-04 11:24:19 UTC
This is fixed now in git with:

commit e3945c47bdac1149a1fec5d46bd567a248cd17b9
Author: Andreas Jaeger <aj@suse.de>
Date:   Fri May 4 13:13:57 2012 +0200

    Do not build manual in the source directory
    
    [BZ #13750]
    
    Build the manual in the build directory and
    not anymore in the source directory.


I'll update install.texi now as well...
Comment 2 Andreas Jaeger 2012-05-14 20:05:20 UTC
I had to remove the last patch and committed now an improved version:

commit 6a4888ffd67163b589e602d62ca6330a608d8b89
Author: Andreas Jaeger <aj@suse.de>
Date:   Mon May 14 21:45:48 2012 +0200

    Do not build manual in source dir
    
    [BZ #13750]
    Do not build manual anymore in the source dir. Also clean up the
    Makefile and remove rules that have been used previously
    when we had a stand-alone Makefile which was obsoleted recently.