[Refdb-cvs] CVS: elisp Makefile.am,1.5,1.6
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mho...@us...> - 2005-11-19 19:20:56
|
Update of /cvsroot/refdb/elisp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10081 Modified Files: Makefile.am Log Message: create chunked HTML output with CSS styling; install refdb-mode-config.el as config file; preconfigure refdb-mode-config.el Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/elisp/Makefile.am,v retrieving revision 1.5 retrieving revision 1.6 diff -u -U2 -r1.5 -r1.6 --- Makefile.am 12 Nov 2005 22:59:55 -0000 1.5 +++ Makefile.am 19 Nov 2005 19:20:47 -0000 1.6 @@ -3,21 +3,37 @@ lisp_LISP = ris.el refdb-mode.el +sysconf_DATA = refdb-mode-config.el + docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) -manualdir = $(docdir) -doc_DATA = refdb-mode-manual.pdf -manual_DATA = refdb-mode-manual.html +doc_DATA = refdb-mode-manual.pdf refdb-mode-manual/* + +EXTRA_DIST = $(lisp_LISP) $(doc_DATA) $(manual_DATA) refdb-mode-manual.xml refdb-mode-config.el.in -EXTRA_DIST = $(lisp_LISP) $(doc_DATA) $(manual_DATA) +MAINTAINERCLEANFILES = $(doc_DATA) refdb-mode-manual.fo +CLEANFILES = refdb-mode-config.el fosheet="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl" -htmlsheet="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl" -refdb-mode-manual.fo: refdb-mode-manual.xml - xsltproc --stringparam funcsynopsis.style ansi $(fosheet) refdb-mode-manual.xml > refdb-mode-manual.fo +htmlsheet="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl" + +all: refdb-mode-config.el refdb-mode-manual.pdf refdb-mode-manual/* -refdb-mode-manual.pdf: refdb-mode-manual.fo +refdb-mode-config.el: refdb-mode-config.el.in + sed 's%<myrtfviewer>%$(myrtfviewer)%' < $(srcdir)/refdb-mode-config.el.in | \ + sed 's%<mypsviewer>%$(mypsviewer)%' | \ + sed 's%<mypdfviewer>%$(mypdfviewer)%' | \ + sed 's%<mygnumake>%$(mygnumake)%' | \ + sed 's%<myshell>%$(myshell)%' | \ + sed 's%<sysconfdir>%$(sysconfdir)%' > refdb-mode-config.el + +refdb-mode-manual.pdf: refdb-mode-manual.xml + xsltproc --stringparam funcsynopsis.style ansi $(fosheet) refdb-mode-manual.xml > refdb-mode-manual.fo fop -fo refdb-mode-manual.fo -pdf refdb-mode-manual.pdf -refdb-mode-manual.html: refdb-mode-manual.xml - xsltproc --stringparam funcsynopsis.style ansi $(htmlsheet) refdb-mode-manual.xml > refdb-mode-manual.html +refdb-mode-manual/*: refdb-mode-manual.xml + rm -rf refdb-mode-manual/* + mkdir -p refdb-mode-manual + xsltproc --stringparam funcsynopsis.style ansi --stringparam html.stylesheet manual.css -o refdb-mode-manual/ $(htmlsheet) refdb-mode-manual.xml + cp manual.css refdb-mode-manual + |