Commit 2da559d3 authored by Dan Mueth's avatar Dan Mueth Committed by Dan Mueth

Updating doc build stuff so it works properly on RH7.1 and any other newer

2001-07-22  Dan Mueth  <d-mueth@uchicago.edu>

        Updating doc build stuff so it works properly on RH7.1 and
        any other newer distributions which have the updated docbook
        tools where db2html doesn't work with GNOME's modified DTD.
        For these systems, we use jw instead of db2html.

        * configure.in:
        * help/sgmldocs.make:
parent 7fdb4544
2001-07-22 Dan Mueth <d-mueth@uchicago.edu>
Updating doc build stuff so it works properly on RH7.1 and
any other newer distributions which have the updated docbook
tools where db2html doesn't work with GNOME's modified DTD.
For these systems, we use jw instead of db2html.
* configure.in:
* help/sgmldocs.make:
2001-07-22 Maciej Stachowiak <mjs@eazel.com>
* components/music/nautilus-music-view.c: (string_non_empty),
......
......@@ -524,6 +524,21 @@ dnl =======================
dnl = End tests for scrollkeeper
dnl =======================
dnl ====================================
dnl = Test whether jw is installed
dnl ====================================
AC_PATH_PROG(JW,jw,no)
if test x$JW = xno; then
HAVE_JW="no"
else
HAVE_JW="yes"
fi
AM_CONDITIONAL(HAVE_JW, test "x$HAVE_JW" = "xyes")
AC_SUBST(HAVE_JW)
dnl ====================================
dnl = End tests for jw
dnl ====================================
dnl ====================================
dnl = begin applet checks
dnl ====================================
......
......@@ -36,7 +36,7 @@ docdir = $(datadir)/gnome/help/$(docname)/$(lang)
doc_DATA = index.html
sgml_files = $(docname).sgml $(sgml_ents)
sgml_files = $(sgml_ents) $(docname).sgml
omf_dir=$(top_srcdir)/omf-install
......@@ -66,8 +66,12 @@ $(docname).sgml: $(sgml_ents)
# The weird srcdir trick is because the db2html from the Cygnus RPMs
# cannot handle relative filenames
$(docname)/index.html: $(srcdir)/$(docname).sgml
-srcdir=`cd $(srcdir) && pwd`; \
db2html $$srcdir/$(docname).sgml
-srcdir=`cd $(srcdir) && pwd`; \
if test "$(HAVE_JW)" = 'yes' ; then \
jw -c /etc/sgml/catalog $$srcdir/$(docname).sgml -o $$srcdir/$(docname); \
else \
db2html $$srcdir/$(docname).sgml; \
fi
app-dist-hook: index.html
-$(mkinstalldirs) $(distdir)/$(docname)/stylesheet-images
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment