[PATCH v4] Do not build manual in source dir
Andreas Jaeger
aj@suse.com
Mon May 14 13:33:00 GMT 2012
On Saturday, May 05, 2012 14:30:10 Andreas Jaeger wrote:
> After fixing the breakage, I noticed a warning about overriden targets
> by make and thus decided to do it properly - as Andreas Schwab
> suggested.
>
> I now cleaned up the Makefile further and removed the last two pages -
> and cleaned up a bit more as well. These rules have been used previously
> when we had a stand-alone Makefile which was obsoleted recently.
>
> Btw. I pushed everything in git on the branch aj/manual-build in case
> somebody wants to test this.
>
> I've build several times on both Linux/x86-64 and Linux/x86 and run make
> install, make pdf html info etc .
>
> Ok to commit?
> Andreas
Ping.
Is this ok?
Andreas
>
> 2012-05-05 Andreas Jaeger <aj@suse.de>
>
> * manual/Makefile (subdir): Remove export of subdir.
> (all): Remove target.
> (.PHONY): Remove all from list.
> (mkinstalldirs): Remove.
> (.PHONY): Remove installdirs from list.
> ($(inst_infodir)/libc.info): Use make-target-directory.
> (installdirs): Remove.
> (subdir_%): Remove.
> (glibc-targets): Remove.
> (lib): Remove.
> (stubs): Remove.
> ($(objpfx)stubs ../po/manual.pot): Remove.
> ($(objpfx)stamp%): Remove.
> (make-target-directory): Remove.
> (subdir_install): Remove.
> (routines): Remove.
> (aux): Remove.
> (sources): Remove.
> (objects): Remove.
> (headers): Remove.
>
> [BZ #13750]
> * manual/.gitignore: Remove, it's not needed anymore.
> * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
> all files in it.
> * manual/Makefile (dvi, pdf, info, html): Depend on files in build
> directory.
> (texis): Renamed to $(objpfx)texis.
> (texis-path): New, contains path to generated files.
> (chapters.%): Use texis-path for complete path, add extra argument
> libc-texinfo.sh.
> (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
> (libc/index.html, summary.texi): Add $(objpfx) as prefix.
> (summary,texi, stamp-summary): Use complete path of
> files. Generate files in build dir.
> (dir-add.texi): Build in build dir.
> (libm-err.texi,stamp-libm-err): Likewise.
> (version.texi, stamp-version): Likewise.
> (.%c.texi): Likewise.
> (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
> (mostlyclean): Remove target.
> (realclean): Remove target.
> (generated): Add new variable with contents from mostlyclean and
> realclean, remove entries duplicated in common-mostlyclean, add
> stamp-libm-err and stamp-version.
> (generated-dirs): Add libc directory.
> ($(inst_infodir)/libc.info): Install files from build dir.
>
> * manual/install.texi (Configuring and compiling): Adjust since
> the info files are not part of the tar ball anymore.
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
More information about the Libc-alpha
mailing list