diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1d0b019d77..1a7deac6217 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-01-30 Kelley Cook + + * Makefile.in (abs_docdir, abs_srcdir): Define. + (doc/%.dvi, doc/gccinstall.dvi): Use $(abs_docdir). + 2004-01-30 Kazu Hirata * genconfig.c (main): Have CC0_P check its operand even on a diff --git a/gcc/Makefile.in b/gcc/Makefile.in index ebe902af409..6a83a2f0563 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -71,7 +71,11 @@ program_transform_name := @program_transform_name@ # Directory where sources are, from where we are. srcdir = @srcdir@ -docdir = $(srcdir)/doc +docdir = @srcdir@/doc + +# Directory where sources are, absolute. +abs_srcdir = @abs_srcdir@ +abs_docdir = @abs_srcdir@/doc # Top build directory, relative to here. top_builddir = .. @@ -2673,11 +2677,11 @@ dvi:: doc/gcc.dvi doc/gccint.dvi doc/gccinstall.dvi doc/cpp.dvi \ doc/cppinternals.dvi doc/%.dvi: %.texi - $(TEXI2DVI) -I $(docdir) -I $(docdir)/include -o $@ $< + $(TEXI2DVI) -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $< # Duplicate entry to handle renaming of gccinstall.dvi doc/gccinstall.dvi: $(TEXI_GCCINSTALL_FILES) - $(TEXI2DVI) -I $(docdir) -I $(docdir)/include -o $@ $< + $(TEXI2DVI) -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $< MANFILES = doc/gcov.1 doc/cpp.1 doc/gcc.1 doc/gfdl.7 doc/gpl.7 doc/fsf-funding.7 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index c69f26a6de8..22091da091a 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,9 @@ +2004-01-30 Kelley Cook + + * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir). + (doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise. + (doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise. + 2004-01-26 Rainer Orth * Makefile.in (mips-sgi-irix5): Remove -lathread from THREADSLIB. diff --git a/gcc/ada/Make-lang.in b/gcc/ada/Make-lang.in index b821b2d7932..042de094b4f 100644 --- a/gcc/ada/Make-lang.in +++ b/gcc/ada/Make-lang.in @@ -550,26 +550,26 @@ dvi:: doc/gnat_ug_vms.dvi doc/gnat_ug_wnt.dvi doc/gnat_ug_unx.dvi \ doc/gnat_ug_unx.dvi: $(srcdir)/ada/gnat_ug_unx.texi \ $(docdir)/include/fdl.texi $(docdir)/include/gcc-common.texi - $(TEXI2DVI) -c -I $(docdir)/include -o $@ $< + $(TEXI2DVI) -c -I $(abs_docdir)/include -o $@ $< doc/gnat_ug_vms.dvi: $(srcdir)/ada/gnat_ug_vms.texi \ $(docdir)/include/fdl.texi $(docdir)/include/gcc-common.texi - $(TEXI2DVI) -c -I $(docdir)/include -o $@ $< + $(TEXI2DVI) -c -I $(abs_docdir)/include -o $@ $< doc/gnat_ug_vxw.dvi: $(srcdir)/ada/gnat_ug_vxw.texi \ $(docdir)/include/fdl.texi $(docdir)/include/gcc-common.texi - $(TEXI2DVI) -c -I $(docdir)/include -o $@ $< + $(TEXI2DVI) -c -I $(abs_docdir)/include -o $@ $< doc/gnat_ug_wnt.dvi: $(srcdir)/ada/gnat_ug_wnt.texi \ $(docdir)/include/fdl.texi $(docdir)/include/gcc-common.texi - $(TEXI2DVI) -c -I $(docdir)/include -o $@ $< + $(TEXI2DVI) -c -I $(abs_docdir)/include -o $@ $< doc/gnat_rm.dvi: ada/gnat_rm.texi \ $(docdir)/include/fdl.texi $(docdir)/include/gcc-common.texi - $(TEXI2DVI) -c -I $(docdir)/include -o $@ $< + $(TEXI2DVI) -c -I $(abs_docdir)/include -o $@ $< doc/gnat-style.dvi: ada/gnat-style.texi $(docdir)/include/fdl.texi - $(TEXI2DVI) -c -I $(docdir)/include -o $@ $< + $(TEXI2DVI) -c -I $(abs_docdir)/include -o $@ $< # Install hooks: diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index ccd47dbc8bc..fd818f4f017 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,7 @@ +2004-01-30 Kelley Cook + + * Make-lang.in (doc/g77.dvi): Use $(abs_docdir). + 2004-01-28 Ian Lance Taylor * Make-lang.in (f/str-*.h, f/str-*.j): Use stamp files and diff --git a/gcc/f/Make-lang.in b/gcc/f/Make-lang.in index b384b71afdc..9c35cd497e7 100644 --- a/gcc/f/Make-lang.in +++ b/gcc/f/Make-lang.in @@ -202,7 +202,7 @@ doc/g77.info: $(TEXI_G77_FILES) else true; fi doc/g77.dvi: $(TEXI_G77_FILES) - $(TEXI2DVI) -I $(srcdir)/f -I $(docdir)/include -I $(objdir)/f -o $@ $< + $(TEXI2DVI) -I $(srcdir)/f -I $(abs_docdir)/include -I $(objdir)/f -o $@ $< .INTERMEDIATE: g77.pod g77.pod: f/invoke.texi diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index d3fb8a1846f..1b88bec8617 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2004-01-30 Kelley Cook + + * Make-lang.in (doc/gcj.dvi): Use $(abs_docdir). + 2004-01-28 Andrew Pinski * expr.c (build_field_ref): Move variable diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in index 59f8bc4d09e..fa981193ff3 100644 --- a/gcc/java/Make-lang.in +++ b/gcc/java/Make-lang.in @@ -371,7 +371,7 @@ doc/gcj.info: java/gcj.texi $(docdir)/include/fdl.texi \ doc/gcj.dvi: java/gcj.texi $(docdir)/include/fdl.texi \ $(docdir)/include/gpl.texi $(docdir)/include/gcc-common.texi - $(TEXI2DVI) -I $(docdir)/include -o $@ $< + $(TEXI2DVI) -I $(abs_docdir)/include -o $@ $< .INTERMEDIATE: gcj.pod gcjh.pod jv-scan.pod jcf-dump.pod gij.pod \ jv-convert.pod rmic.pod rmiregistry.pod diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog index 3e817c16371..eba0aefcf6e 100644 --- a/gcc/treelang/ChangeLog +++ b/gcc/treelang/ChangeLog @@ -1,3 +1,7 @@ +2004-01-30 Kelley Cook + + * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir). + 2004-01-20 Kelley Cook * Make-lang.in: Replace $(docdir) with doc. diff --git a/gcc/treelang/Make-lang.in b/gcc/treelang/Make-lang.in index 46d20be9e74..d0d50288e11 100644 --- a/gcc/treelang/Make-lang.in +++ b/gcc/treelang/Make-lang.in @@ -161,7 +161,7 @@ doc/treelang.info: treelang/treelang.texi $(docdir)/include/gcc-common.texi \ doc/treelang.dvi: treelang/treelang.texi $(docdir)/include/gcc-common.texi \ $(docdir)/include/gpl.texi $(docdir)/include/fdl.texi \ $(docdir)/include/funding.texi - $(TEXI2DVI) -I $(docdir)/include -o $@ $< + $(TEXI2DVI) -I $(abs_docdir)/include -o $@ $< # # Install hooks: