From 6639f730fcdf9f8143e595da6daa14f7eb7f1c72 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Thu, 7 Feb 2008 19:58:13 +0000 Subject: [PATCH] Some minor tweaks. --- doc/Makefile.am | 7 +++++-- doc/comedilib.css | 3 ++- doc/comedilib_html_config.xsl | 4 +--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index aa10aa8..5e9fe81 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -48,12 +48,15 @@ uninstall-local: $(uninstall_html) $(uninstall_man) #named this doc_html to avoid phony html target that is automatically generated #(at least by automake1.8) $(srcdir)/doc_html: $(XML) comedilib_html_config.xsl - { $(XMLTO) -o $(srcdir)/doc_html -m $(srcdir)/comedilib_html_config.xsl --skip-validation html $(srcdir)/comedilib.xml && touch $(srcdir)/doc_html; } || { $(RM) -r $(srcdir)/doc_html; exit 1; } + { $(XMLTO) -o $(srcdir)/doc_html -m $(srcdir)/comedilib_html_config.xsl --skip-validation html $(srcdir)/comedilib.xml && \ + (cd $(srcdir)/doc_html && $(LN_S) -f ../comedilib.css . && $(LN_S) -f ../acq-seq.gif .) && \ + touch $(srcdir)/doc_html;} || \ + { $(RM) -r $(srcdir)/doc_html; exit 1; } install_html: $(mkdir_p) $(DESTDIR)$(htmldir)/html chmod u+w $(DESTDIR)$(htmldir)/html - for each in $(srcdir)/doc_html/*.html $(srcdir)/*.gif ; do \ + for each in $(srcdir)/doc_html/*.html $(srcdir)/*.gif $(srcdir)/*.css; do \ $(INSTALL_DATA) $$each $(DESTDIR)$(htmldir)/html ; done uninstall_html: diff --git a/doc/comedilib.css b/doc/comedilib.css index 31e338a..1578ce6 100644 --- a/doc/comedilib.css +++ b/doc/comedilib.css @@ -1,5 +1,6 @@ /* give a light grey background */ .programlisting { - background-color: #E0E0E0; + background-color: WhiteSmoke; } + diff --git a/doc/comedilib_html_config.xsl b/doc/comedilib_html_config.xsl index 10e3c66..7c38bd1 100644 --- a/doc/comedilib_html_config.xsl +++ b/doc/comedilib_html_config.xsl @@ -3,9 +3,7 @@ xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> - - - ../comedilib.css + comedilib.css -- 2.26.2