summaryrefslogtreecommitdiff
path: root/help
diff options
context:
space:
mode:
authorDan Mueth <d-mueth@uchicago.edu>2001-07-22 18:53:29 +0000
committerDan Mueth <dmueth@src.gnome.org>2001-07-22 18:53:29 +0000
commit2da559d388f707f86b238ca68874148eac7bffb4 (patch)
treef4dd6405f3df38dbbc4e9182542d027ece48d428 /help
parent7fdb454478f2b8e45f85539e2f7ca34a3f9a40e8 (diff)
downloadnautilus-2da559d388f707f86b238ca68874148eac7bffb4.tar.gz
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:
Diffstat (limited to 'help')
-rw-r--r--help/sgmldocs.make10
1 files changed, 7 insertions, 3 deletions
diff --git a/help/sgmldocs.make b/help/sgmldocs.make
index 191530067..8159f7dfe 100644
--- a/help/sgmldocs.make
+++ b/help/sgmldocs.make
@@ -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