Make-lang.in (dvi): Use ch/chill.dvi not chill.dvi.
authorTheodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
Sun, 27 May 2001 17:07:17 +0000 (19:07 +0200)
committerDJ Delorie <dj@gcc.gnu.org>
Sun, 27 May 2001 17:07:17 +0000 (13:07 -0400)
* Make-lang.in (dvi): Use ch/chill.dvi not chill.dvi.
(ch/chill.dvi): Use TEXI2DVI instead of custom tex calls.  Create
the dvi file in the ch directory.

From-SVN: r42657

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

index 79db75b..becbcd3 100644 (file)
@@ -1,3 +1,9 @@
+2001-05-23  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
+
+       * Make-lang.in (dvi): Use ch/chill.dvi not chill.dvi.
+       (ch/chill.dvi): Use TEXI2DVI instead of custom tex calls.  Create
+       the dvi file in the ch directory.
+
 2001-05-26  Zack Weinberg  <zackw@stanford.edu>
 
        * configure: Remove obsolete file.
index 156a742..27b36b8 100644 (file)
@@ -106,17 +106,17 @@ CHILL.all.build: chill
 CHILL.all.cross: chill-cross
 CHILL.start.encap: chill
 CHILL.rest.encap:
-CHILL.dvi: chill.dvi
+CHILL.dvi: ch/chill.dvi
 
 CHILL.info: $(srcdir)/ch/chill.info
 
 $(srcdir)/ch/chill.info: $(srcdir)/ch/chill.texi
        cd $(srcdir)/ch && $(MAKEINFO) -o chill.info chill.texi
 
-chill.dvi: $(srcdir)/ch/chill.texi
-       TEXINPUTS=${texidir}:$(srcdir)/ch:$(srcdir):$$TEXINPUTS tex $(srcdir)/ch/chill.texi ; \
-       texindex chill.?? ; \
-       TEXINPUTS=${texidir}:$(srcdir)/ch:$(srcdir)$$TEXINPUTS tex $(srcdir)/ch/chill.texi
+ch/chill.dvi: $(srcdir)/ch/chill.texi
+       s=`cd $(srcdir); pwd`; export s; \
+       cd ch && $(TEXI2DVI) $$s/ch/chill.texi
+
 #\f
 # Install hooks:
 # cc1chill is installed elsewhere as part of $(COMPILERS).