RFA: Build doc files in build directory not source directory

Matt Kraai kraai@alumni.cmu.edu
Fri May 31 09:39:00 GMT 2002


On Fri, May 31, 2002 at 10:32:47AM +0100, Nick Clifton wrote:
> *************** $(docdir)/gccint.info: $(docdir)/gccint.
> *** 2330,2341 ****
>   	 $(docdir)/headerdirs.texi $(docdir)/include/funding.texi \
>   	 $(docdir)/gnu.texi $(docdir)/include/gpl.texi \
>   	 $(docdir)/include/fdl.texi $(docdir)/contrib.texi \
> ! 	 $(docdir)/languages.texi $(docdir)/sourcebuild.texi
> ! 	cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -I doc -I doc/include -o doc/gccint.info doc/gccint.texi
> ! 
> ! $(docdir)/cppinternals.info: $(docdir)/cppinternals.texi
> ! 	cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -I doc -I doc/include -o doc/cppinternals.info \
> ! 		doc/cppinternals.texi
>   
>   dvi: gcc.dvi gccint.dvi cpp.dvi lang.dvi cppinternals.dvi
>   
> --- 2337,2349 ----
>   	 $(docdir)/headerdirs.texi $(docdir)/include/funding.texi \
>   	 $(docdir)/gnu.texi $(docdir)/include/gpl.texi \
>   	 $(docdir)/include/fdl.texi $(docdir)/contrib.texi \
> ! 	 $(docdir)/languages.texi $(docdir)/sourcebuild.texi \
> ! 	 mkdocbuilddir
> ! 	cd $(docbuilddir) && $(MAKEINFO) $(MAKEINFOFLAGS) -I $(docdir) -I $(docdir)/include -o gccint.info $(docdir)/gccint.texi
> ! 
> ! $(docbuilddir)/cppinternals.info: $(docdir)/cppinternals.texi
> ! 	cd $(docbuilddir) && $(MAKEINFO) $(MAKEINFOFLAGS) -I $(docdir) -I $(docdir)/include -o cppinternals.info \
> ! 		$(docdir)/cppinternals.texi
>   
>   dvi: gcc.dvi gccint.dvi cpp.dvi lang.dvi cppinternals.dvi
>   

Shouldn't $(docbuilddir)/cppinternals.info depend on
mkdocbuilddir?  Similarly for all of the manual pages.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20020531/b56568f4/attachment.sig>


More information about the Gcc-patches mailing list