+2004-07-04 Kelley Cook <kcook@gcc.gnu.org>
+
+ * Make-lang.in (doc/gnat_ugn_unw.texi): Eliminate explicit
+ dependency on xgnatugn, instead build it via a submake.
+ (ADA_INFOFILES): Add doc/gnat_ugn_unw.texi.
+
2004-07-04 Richard Henderson <rth@redhat.com>
* utils2.c (gnat_mark_addressable): Don't put_var_into_stack.
$(CP) $^ ada/doctools
cd ada/doctools && gnatmake -q xgnatugn
-doc/gnat_ugn_unw.texi : ada/doctools/xgnatugn$(build_exeext) \
- $(srcdir)/ada/gnat_ugn.texi $(srcdir)/ada/ug_words
- ada/doctools/xgnatugn unw $(srcdir)/ada/gnat_ugn.texi $(srcdir)/ada/ug_words doc/gnat_ugn_unw.texi
+# Note that gnat_ugn_unw.texi does not depend on xgnatugn
+# being built so we can distribute a pregenerated gnat_ugn_unw.info
+
+doc/gnat_ugn_unw.texi: $(srcdir)/ada/gnat_ugn.texi $(srcdir)/ada/ug_words
+ $(MAKE) ada/doctools/xgnatugn$(build_exeext)
+ ada/doctools/xgnatugn unw $(srcdir)/ada/gnat_ugn.texi \
+ $(srcdir)/ada/ug_words doc/gnat_ugn_unw.texi
doc/gnat_ugn_unw.info: doc/gnat_ugn_unw.texi \
$(docdir)/include/fdl.texi $(docdir)/include/gcc-common.texi
-I$(srcdir)/ada -o $@ $<; \
else true; fi
-ADA_INFOFILES = doc/gnat_ugn_unw.info \
+ADA_INFOFILES = doc/gnat_ugn_unw.info doc/gnat_ugn_unw.texi \
doc/gnat_rm.info doc/gnat-style.info
ada.info: $(ADA_INFOFILES)