Commit c3e32eed authored by Dan Mueth's avatar Dan Mueth Committed by Dan Mueth

Updating doc build stuff to use jw on RH 7.1 and any other dist which has

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

        Updating doc build stuff to use jw on RH 7.1 and any other dist which
        has moved to docbook-utils.

        * configure.in:
        * sgmldocs.make:
parent 519cde5a
2001-07-28 Dan Mueth <d-mueth@uchicago.edu>
Updating doc build stuff to use jw on RH 7.1 and any other dist which
has moved to docbook-utils.
* configure.in:
* sgmldocs.make:
2001-07-28 Dan Mueth <d-mueth@uchicago.edu>
Moving a couple screenshots and removing one from a Makefile
......
2001-07-28 Dan Mueth <d-mueth@uchicago.edu>
Updating doc build stuff to use jw on RH 7.1 and any other dist which
has moved to docbook-utils.
* configure.in:
* sgmldocs.make:
2001-07-28 Dan Mueth <d-mueth@uchicago.edu>
Moving a couple screenshots and removing one from a Makefile
......
......@@ -481,6 +481,17 @@ if test x$SCROLLKEEPER_CONFIG = xno; then
fi
AC_SUBST(SCROLLKEEPER_REQUIRED)
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 AC_CONFIG_SUBDIRS(gemvt)
......
......@@ -66,18 +66,25 @@ $(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
-$(mkinstalldirs) $(distdir)/figures
-cp $(srcdir)/$(docname)/*.html $(distdir)/$(docname)
-cp $(srcdir)/$(docname)/*.css $(distdir)/$(docname)
-cp $(srcdir)/$(docname)/stylesheet-images/*.gif \
$(distdir)/$(docname)/stylesheet-images
-cp $(srcdir)/figures/*.png \
$(distdir)/figures
-for file in $(srcdir)/$(docname)/*.css; do \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
cp $$file $(distdir)/$(docname)/$$basefile ; \
done
-for file in $(srcdir)/$(docname)/stylesheet-images/*.gif; do \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
cp $$file $(distdir)/$(docname)/stylesheet-images/$$basefile ; \
done
-if [ -e topic.dat ]; then \
cp $(srcdir)/topic.dat $(distdir); \
fi
......
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