From: Michael Smith Date: Fri, 14 Oct 2005 08:27:06 +0000 (+0000) Subject: Added makefiled for downloading and extracging xmlformat. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8bf8b09d7c32538900c09bdf1a2032e1c3744303;p=docbook-dsssl Added makefiled for downloading and extracging xmlformat. --- diff --git a/contrib/tools/xmlformat/Makefile b/contrib/tools/xmlformat/Makefile new file mode 100644 index 000000000..1b998fcdc --- /dev/null +++ b/contrib/tools/xmlformat/Makefile @@ -0,0 +1,22 @@ +# $Id$ + +DOWNLOAD_URL ?= http://www.kitebird.com/software/xmlformat +DOWNLOAD_FILENAME ?= xmlformat-1.03.tar.gz + +EXTRACTED_DIR ?= $(basename $(basename $(DOWNLOAD_FILENAME))) + +WGET ?= wget +WGET_OPTS ?= + +all: $(EXTRACTED_DIR) + +$(EXTRACTED_DIR): $(DOWNLOAD_FILENAME) + tar xvfz $< + +$(DOWNLOAD_FILENAME): + $(WGET) $(DOWNLOAD_URL)/$@ + +clean: + $(RM) $(DOWNLOAD_FILENAME) + $(RM) -r $(EXTRACTED_DIR) + diff --git a/contrib/tools/xmlformat/conf/xmlformat.conf b/contrib/tools/xmlformat/conf/xmlformat.conf new file mode 100644 index 000000000..93854a1c4 --- /dev/null +++ b/contrib/tools/xmlformat/conf/xmlformat.conf @@ -0,0 +1,85 @@ +# $Id$ +# Default options +*DEFAULT + format block + subindent 2 + entry-break 0 + exit-break 0 + element-break 1 + normalize no + wrap-length 0 + +section subsection manvolnum \ +refmiscinfo refname releaseinfo funcdef funcprototype methodparam \ +paramdef + format block + +refentryinfo refmeta refnamediv \ +varlistentry glossentry revision + format block + entry-break 1 + exit-break 1 + +book part partintro article chapter section articleinfo \ +reference refentry refsect1 refsect2 refsect3 \ +sect1 sect2 sect3 note important variablelist \ +glosslist revhistory appendix example refsynopsisdiv cmdsynopsis \ +classsynopsis constructorsynopsis destructorsynopsis \ +fieldsynopsis funcsynopsis methodsynopsis + format block + entry-break 1 + exit-break 1 + element-break 2 + +itemizedlist orderedlist procedure + format block + entry-break 1 + exit-break 1 + +listitem glossdef + format block + entry-break 1 + element-break 1 + exit-break 1 + subindent 2 + +exercises exercise question answer + format block + +title arg todo toc-entries toc-entry toc-number toc-title \ +term glossterm refpurpose authorinitials revnumber revremark + format block + entry-break 0 + element-break 0 + exit-break 0 + normalize yes + wrap-length 65 + +para simpara + format block + entry-break 0 + element-break 1 + exit-break 0 + normalize yes + wrap-length 65 + +literal replaceable userinput command classname methodname ooclass \ +parameter varname option emphasis xref ulink char itodo email url \ +productname filename phrase personname \ +firstname surname sgmltag remark date + format inline + +programlisting screen literallayout releaseinfo + format verbatim + +informaltable tgroup thead tbody row + entry-break 1 + element-break 1 + exit-break 1 + subindent 1 + +entry + normalize no + entry-break 0 + element-break 0 + exit-break 0