* Make-lang.in (f/g77.1): Honor $(docobjdir).
authorkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Oct 2003 23:45:05 +0000 (23:45 +0000)
committerkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Oct 2003 23:45:05 +0000 (23:45 +0000)
($(docobjdir)/g77.info): Replace $(srcdir)/doc with $(docdir).
(f/g77.dvi): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72776 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/f/ChangeLog
gcc/f/Make-lang.in

index e521ed8..12cdc27 100644 (file)
@@ -1,3 +1,9 @@
+2003-10-21  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Make-lang.in (f/g77.1): Honor $(docobjdir).
+       ($(docobjdir)/g77.info): Replace $(srcdir)/doc with $(docdir).
+       (f/g77.dvi): Likewise.
+
 2003-10-21  Jan Hubicka  <jh@suse.cz>
 
        * lex.c (ffelex_cfelex_): Initialize d.
index 38d76b5..a5256c8 100644 (file)
@@ -150,16 +150,16 @@ f77.tags: force
 
 info:: $(docobjdir)/g77.info
 dvi:: f/g77.dvi
-generated-manpages:: $(srcdir)/f/g77.1
+generated-manpages:: $(docobjdir)/g77.1
 
 # g77 documentation.
 $(docobjdir)/g77.info: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
                $(srcdir)/f/ffe.texi $(srcdir)/f/invoke.texi \
                $(srcdir)/f/news.texi  $(srcdir)/f/intdoc.texi \
-               $(srcdir)/f/root.texi $(srcdir)/doc/include/fdl.texi \
-               $(srcdir)/doc/include/gpl.texi \
-               $(srcdir)/doc/include/funding.texi \
-               $(srcdir)/doc/include/gcc-common.texi \
+               $(srcdir)/f/root.texi $(docdir)/include/fdl.texi \
+               $(docdir)/include/gpl.texi \
+               $(docdir)/include/funding.texi \
+               $(docdir)/include/gcc-common.texi \
                stmp-docobjdir
        if [ x$(BUILD_INFO) = xinfo ]; then \
          rm -f $(@)*; \
@@ -169,17 +169,17 @@ $(docobjdir)/g77.info: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
 f/g77.dvi: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
                $(srcdir)/f/ffe.texi $(srcdir)/f/invoke.texi \
                $(srcdir)/f/news.texi  $(srcdir)/f/intdoc.texi \
-               $(srcdir)/f/root.texi $(srcdir)/doc/include/fdl.texi \
-               $(srcdir)/doc/include/gpl.texi \
-               $(srcdir)/doc/include/funding.texi \
-               $(srcdir)/doc/include/gcc-common.texi
+               $(srcdir)/f/root.texi $(docdir)/include/fdl.texi \
+               $(docdir)/include/gpl.texi \
+               $(docdir)/include/funding.texi \
+               $(docdir)/include/gcc-common.texi
        s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
        cd f && $(TEXI2DVI) -I $$s/doc/include $$s/f/g77.texi
 
-$(srcdir)/f/g77.1: $(srcdir)/f/invoke.texi
+$(docobjdir)/g77.1: $(srcdir)/f/invoke.texi
        -$(TEXI2POD) < $(srcdir)/f/invoke.texi > f/g77.pod; \
        ($(POD2MAN) --section=1 f/g77.pod > f/g77.1.T$$$$ && \
-           mv -f f/g77.1.T$$$$ $(srcdir)/f/g77.1) || \
+           mv -f f/g77.1.T$$$$ $(docobjdir)/g77.1) || \
            (rm -f f/g77.1.T$$$$ && exit 1); \
        rm -f f/g77.pod; \
 
@@ -277,11 +277,11 @@ f77.install-man: $(GENERATED_MANPAGES) installdirs
        -if [ -f f771$(exeext) ] ; then \
          if [ -f g77-cross$(exeext) ] ; then \
            rm -f $(DESTDIR)$(man1dir)/$(G77_CROSS_NAME)$(man1ext); \
-           $(INSTALL_DATA) $(srcdir)/f/g77.1 $(DESTDIR)$(man1dir)/$(G77_CROSS_NAME)$(man1ext); \
+           $(INSTALL_DATA) $(docobjdir)/g77.1 $(DESTDIR)$(man1dir)/$(G77_CROSS_NAME)$(man1ext); \
            chmod a-x $(DESTDIR)$(man1dir)/$(G77_CROSS_NAME)$(man1ext); \
          else \
            rm -f $(DESTDIR)$(man1dir)/$(G77_INSTALL_NAME)$(man1ext); \
-           $(INSTALL_DATA) $(srcdir)/f/g77.1 $(DESTDIR)$(man1dir)/$(G77_INSTALL_NAME)$(man1ext); \
+           $(INSTALL_DATA) $(docobjdir)/g77.1 $(DESTDIR)$(man1dir)/$(G77_INSTALL_NAME)$(man1ext); \
            chmod a-x $(DESTDIR)$(man1dir)/$(G77_INSTALL_NAME)$(man1ext); \
          fi; \
        else true; fi