From: Adam Dickmeiss Date: Thu, 20 Apr 2006 12:20:55 +0000 (+0000) Subject: Updated to use doc/common (id-docbook-common) X-Git-Tag: METAPROXY.1.0.0~12 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=53b63f14eaf30aff1d043792288f919b74806d35;p=metaproxy-moved-to-github.git Updated to use doc/common (id-docbook-common) --- diff --git a/configure.ac b/configure.ac index 0a62c88..5084fba 100644 --- a/configure.ac +++ b/configure.ac @@ -135,9 +135,11 @@ AC_CONFIG_FILES([ src/Jamfile doc/Makefile doc/main.xml - doc/print.dsl - doc/html.dsl - doc/tkl.xsl + doc/common/Makefile + doc/common/html.dsl + doc/common/html.xsl + doc/common/print.dsl + doc/common/tkl.xsl ]) AC_OUTPUT diff --git a/doc/Makefile.am b/doc/Makefile.am index fd175db..5eea1de 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,9 +1,9 @@ -## $Id: Makefile.am,v 1.7 2006-04-20 09:28:24 mike Exp $ +## $Id: Makefile.am,v 1.8 2006-04-20 12:20:56 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ -SUFFIXES=.3mp .1 +SUBDIRS = common -SUPPORTFILES = html.dsl print.dsl tkl.xsl xml.dcl ref2dbinc.xsl +SUFFIXES=.3mp .1 XMLFILES = main.xml.in book.xml manref.xml progref.xml copyright.xml MAINXML = main.xml @@ -25,11 +25,11 @@ REFFILES= doc_DATA = $(HTMLFILES) metaproxy.pdf $(PNGFILES) man_MANS = $(MANFILES) -EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(REFFILES) \ +EXTRA_DIST = $(XMLFILES) $(REFFILES) \ $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) $(HTMLFILES): $(XMLFILES) - jade -E14 -D $(srcdir) -d html.dsl -t sgml $(srcdir)/xml.dcl $(MAINXML) + jade -E14 -D $(srcdir) -d common/html.dsl -t sgml $(srcdir)/common/xml.dcl $(MAINXML) .xml.3mp: docbook2man $< @@ -38,28 +38,28 @@ $(HTMLFILES): $(XMLFILES) docbook2man $< metaproxy.pdf: $(XMLFILES) - for i in $(PNGFILES); do \ + for i in $(PNGFILES) $(EPSFILES); do \ if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \ done - jade -E14 -D $(srcdir) -d print.dsl -t tex $(srcdir)/xml.dcl $(MAINXML) - rm -f metaproxy.tex; + jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(MAINXML) + rm -f metaproxy.tex mv main.tex metaproxy.tex pdfjadetex metaproxy.tex >/dev/null pdfjadetex metaproxy.tex >/dev/null pdfjadetex metaproxy.tex >/dev/null -index.tkl: $(XMLFILES) tkl.xsl - xsltproc tkl.xsl $(MAINXML) +index.tkl: $(XMLFILES) common/tkl.xsl + xsltproc common/tkl.xsl $(MAINXML) -manref.xml: $(XMLMAN) ref2dbinc.xsl +manref.xml: $(XMLMAN) $(srcdir)/common/ref2dbinc.xsl rm -f manref.xml for i in $(XMLMAN); do \ - xsltproc ref2dbinc.xsl $$i | sed 1d >> manref.xml; \ + xsltproc $(srcdir)/common/ref2dbinc.xsl $$i | sed 1d >> manref.xml; \ done progref.xml: metaproxy.xml rm -f $@ - xsltproc ref2dbinc.xsl $? | sed 1d >> $@ + xsltproc $(srcdir)/common/ref2dbinc.xsl $? | sed 1d >> $@ clean-data-hook: rm -f [0-9]* *.bak diff --git a/doc/html.dsl.in b/doc/html.dsl.in deleted file mode 100644 index 54610f4..0000000 --- a/doc/html.dsl.in +++ /dev/null @@ -1,26 +0,0 @@ - -]> - - - - - -(define %use-id-as-filename% #t) -(define %output-dir% "html") -(define %html-ext% ".html") -(define %shade-verbatim% #t) - - - - - - - diff --git a/doc/print.dsl.in b/doc/print.dsl.in deleted file mode 100644 index bd5814d..0000000 --- a/doc/print.dsl.in +++ /dev/null @@ -1,21 +0,0 @@ - -]> - - - - - - - - - - - diff --git a/doc/ref2dbinc.xsl b/doc/ref2dbinc.xsl deleted file mode 100644 index 31e4fd0..0000000 --- a/doc/ref2dbinc.xsl +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - -
- - <xsl:value-of select="refmeta/refentrytitle"/> - - -
-
- - - - - - - - - - - - - - - -
- -
-
- -
- diff --git a/doc/tkl.xsl.in b/doc/tkl.xsl.in deleted file mode 100644 index 9265a0f..0000000 --- a/doc/tkl.xsl.in +++ /dev/null @@ -1,47 +0,0 @@ - - - - - 1 - .tkl - 0 - - - - - - - - - <xsl:apply-templates select="." mode="object.title.markup"/> - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/xml.dcl b/doc/xml.dcl deleted file mode 100644 index fed2103..0000000 --- a/doc/xml.dcl +++ /dev/null @@ -1,179 +0,0 @@ -" - PIC "?>" - SHORTREF NONE - - NAMES - SGMLREF - - QUANTITY NONE - - ENTITIES - "amp" 38 - "lt" 60 - "gt" 62 - "quot" 34 - "apos" 39 - - FEATURES - MINIMIZE - DATATAG NO - OMITTAG NO - RANK NO - SHORTTAG - STARTTAG - EMPTY NO - UNCLOSED NO - NETENABL IMMEDNET - ENDTAG - EMPTY NO - UNCLOSED NO - ATTRIB - DEFAULT YES - OMITNAME NO - VALUE NO - EMPTYNRM YES - IMPLYDEF - ATTLIST NO - DOCTYPE NO - ELEMENT NO - ENTITY NO - NOTATION NO - LINK - SIMPLE NO - IMPLICIT NO - EXPLICIT NO - OTHER - CONCUR NO - SUBDOC NO - FORMAL NO - URN NO - KEEPRSRE YES - VALIDITY TYPE - ENTITIES - REF ANY - INTEGRAL YES - APPINFO NONE - SEEALSO "ISO 8879:1986//NOTATION - Extensible Markup Language (XML) 1.0//EN" ->