From dc2c6e8e2c4932e15218f415eff34a9a46b8fda4 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 30 Jan 2018 12:09:22 -0500 Subject: git mv *proto/ attic/ Stash the old documentation build recipes somewhere less immediately ugly. Signed-off-by: Adam Jackson --- attic/bigreqsproto/docbook.am | 105 +++++++++++++++++++++++++++++++++ attic/bigreqsproto/specs/.gitignore | 5 ++ attic/bigreqsproto/specs/Makefile.am | 13 ++++ attic/fontsproto/docbook.am | 105 +++++++++++++++++++++++++++++++++ attic/fontsproto/specs/.gitignore | 5 ++ attic/fontsproto/specs/Makefile.am | 13 ++++ attic/inputproto/specs/.gitignore | 1 + attic/inputproto/specs/Makefile.am | 14 +++++ attic/kbproto/docbook.am | 105 +++++++++++++++++++++++++++++++++ attic/kbproto/specs/.gitignore | 5 ++ attic/kbproto/specs/Makefile.am | 48 +++++++++++++++ attic/recordproto/docbook.am | 105 +++++++++++++++++++++++++++++++++ attic/recordproto/specs/.gitignore | 5 ++ attic/recordproto/specs/Makefile.am | 13 ++++ attic/scrnsaverproto/docbook.am | 105 +++++++++++++++++++++++++++++++++ attic/scrnsaverproto/specs/.gitignore | 5 ++ attic/scrnsaverproto/specs/Makefile.am | 13 ++++ attic/x11proto/docbook.am | 105 +++++++++++++++++++++++++++++++++ attic/x11proto/specs/.gitignore | 5 ++ attic/x11proto/specs/Makefile.am | 21 +++++++ attic/xcmiscproto/docbook.am | 105 +++++++++++++++++++++++++++++++++ attic/xcmiscproto/specs/.gitignore | 5 ++ attic/xcmiscproto/specs/Makefile.am | 13 ++++ attic/xextproto/docbook.am | 105 +++++++++++++++++++++++++++++++++ attic/xextproto/specs/.gitignore | 5 ++ attic/xextproto/specs/Makefile.am | 29 +++++++++ bigreqsproto/docbook.am | 105 --------------------------------- bigreqsproto/specs/.gitignore | 5 -- bigreqsproto/specs/Makefile.am | 13 ---- fontsproto/docbook.am | 105 --------------------------------- fontsproto/specs/.gitignore | 5 -- fontsproto/specs/Makefile.am | 13 ---- inputproto/specs/.gitignore | 1 - inputproto/specs/Makefile.am | 14 ----- kbproto/docbook.am | 105 --------------------------------- kbproto/specs/.gitignore | 5 -- kbproto/specs/Makefile.am | 48 --------------- recordproto/docbook.am | 105 --------------------------------- recordproto/specs/.gitignore | 5 -- recordproto/specs/Makefile.am | 13 ---- scrnsaverproto/docbook.am | 105 --------------------------------- scrnsaverproto/specs/.gitignore | 5 -- scrnsaverproto/specs/Makefile.am | 13 ---- x11proto/docbook.am | 105 --------------------------------- x11proto/specs/.gitignore | 5 -- x11proto/specs/Makefile.am | 21 ------- xcmiscproto/docbook.am | 105 --------------------------------- xcmiscproto/specs/.gitignore | 5 -- xcmiscproto/specs/Makefile.am | 13 ---- xextproto/docbook.am | 105 --------------------------------- xextproto/specs/.gitignore | 5 -- xextproto/specs/Makefile.am | 29 --------- 52 files changed, 1058 insertions(+), 1058 deletions(-) create mode 100644 attic/bigreqsproto/docbook.am create mode 100644 attic/bigreqsproto/specs/.gitignore create mode 100644 attic/bigreqsproto/specs/Makefile.am create mode 100644 attic/fontsproto/docbook.am create mode 100644 attic/fontsproto/specs/.gitignore create mode 100644 attic/fontsproto/specs/Makefile.am create mode 100644 attic/inputproto/specs/.gitignore create mode 100644 attic/inputproto/specs/Makefile.am create mode 100644 attic/kbproto/docbook.am create mode 100644 attic/kbproto/specs/.gitignore create mode 100644 attic/kbproto/specs/Makefile.am create mode 100644 attic/recordproto/docbook.am create mode 100644 attic/recordproto/specs/.gitignore create mode 100644 attic/recordproto/specs/Makefile.am create mode 100644 attic/scrnsaverproto/docbook.am create mode 100644 attic/scrnsaverproto/specs/.gitignore create mode 100644 attic/scrnsaverproto/specs/Makefile.am create mode 100644 attic/x11proto/docbook.am create mode 100644 attic/x11proto/specs/.gitignore create mode 100644 attic/x11proto/specs/Makefile.am create mode 100644 attic/xcmiscproto/docbook.am create mode 100644 attic/xcmiscproto/specs/.gitignore create mode 100644 attic/xcmiscproto/specs/Makefile.am create mode 100644 attic/xextproto/docbook.am create mode 100644 attic/xextproto/specs/.gitignore create mode 100644 attic/xextproto/specs/Makefile.am delete mode 100644 bigreqsproto/docbook.am delete mode 100644 bigreqsproto/specs/.gitignore delete mode 100644 bigreqsproto/specs/Makefile.am delete mode 100644 fontsproto/docbook.am delete mode 100644 fontsproto/specs/.gitignore delete mode 100644 fontsproto/specs/Makefile.am delete mode 100644 inputproto/specs/.gitignore delete mode 100644 inputproto/specs/Makefile.am delete mode 100644 kbproto/docbook.am delete mode 100644 kbproto/specs/.gitignore delete mode 100644 kbproto/specs/Makefile.am delete mode 100644 recordproto/docbook.am delete mode 100644 recordproto/specs/.gitignore delete mode 100644 recordproto/specs/Makefile.am delete mode 100644 scrnsaverproto/docbook.am delete mode 100644 scrnsaverproto/specs/.gitignore delete mode 100644 scrnsaverproto/specs/Makefile.am delete mode 100644 x11proto/docbook.am delete mode 100644 x11proto/specs/.gitignore delete mode 100644 x11proto/specs/Makefile.am delete mode 100644 xcmiscproto/docbook.am delete mode 100644 xcmiscproto/specs/.gitignore delete mode 100644 xcmiscproto/specs/Makefile.am delete mode 100644 xextproto/docbook.am delete mode 100644 xextproto/specs/.gitignore delete mode 100644 xextproto/specs/Makefile.am diff --git a/attic/bigreqsproto/docbook.am b/attic/bigreqsproto/docbook.am new file mode 100644 index 0000000..bba4d54 --- /dev/null +++ b/attic/bigreqsproto/docbook.am @@ -0,0 +1,105 @@ +# +# Generate output formats for a single DocBook/XML with/without chapters +# +# Variables set by the calling Makefile: +# shelfdir: the location where the docs/specs are installed. Typically $(docdir) +# docbook: the main DocBook/XML file, no chapters, appendix or image files +# chapters: all files pulled in by an XInclude statement and images. +# + +# +# This makefile is intended for Users Documentation and Functional Specifications. +# Do not use for Developer Documentation which is not installed and does not require olink. +# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 +# for an explanation on documents classification. +# + +# DocBook/XML generated output formats to be installed +shelf_DATA = + +# DocBook/XML file with chapters, appendix and images it includes +dist_shelf_DATA = $(docbook) $(chapters) + +if HAVE_XMLTO +if HAVE_STYLESHEETS + +XMLTO_SEARCHPATH_FLAGS = \ + --searchpath "$(XORG_SGML_PATH)/X11" \ + --searchpath "$(abs_top_builddir)" +XMLTO_HTML_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XMLTO_HTML_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_HTML_STYLESHEET_FLAGS) \ + $(XMLTO_HTML_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.html) +%.html: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< + +if HAVE_XMLTO_TEXT + +shelf_DATA += $(docbook:.xml=.txt) +%.txt: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< +endif HAVE_XMLTO_TEXT + +if HAVE_FOP +XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ +XMLTO_PDF_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +XMLTO_FO_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_FO_STYLESHEET_FLAGS) \ + $(XMLTO_FO_IMAGEPATH_FLAGS) \ + $(XMLTO_PDF_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.pdf) +%.pdf: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< + +shelf_DATA += $(docbook:.xml=.ps) +%.ps: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< +endif HAVE_FOP + +# Generate documents cross-reference target databases +if HAVE_XSLTPROC + +XSLT_SEARCHPATH_FLAGS = \ + --path "$(XORG_SGML_PATH)/X11" \ + --path "$(abs_top_builddir)" +XSLT_OLINK_FLAGS = \ + --stringparam targets.filename "$@" \ + --stringparam collect.xref.targets "only" \ + --stringparam olink.base.uri "$(@:.db=)" + +XSLT_HTML_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XSLT_PDF_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +shelf_DATA += $(docbook:.xml=.html.db) +%.html.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< + +shelf_DATA += $(docbook:.xml=.pdf.db) +%.pdf.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< + +endif HAVE_XSLTPROC +endif HAVE_STYLESHEETS +endif HAVE_XMLTO + +CLEANFILES = $(shelf_DATA) diff --git a/attic/bigreqsproto/specs/.gitignore b/attic/bigreqsproto/specs/.gitignore new file mode 100644 index 0000000..92946c9 --- /dev/null +++ b/attic/bigreqsproto/specs/.gitignore @@ -0,0 +1,5 @@ +*.html +*.ps +*.pdf +*.txt +*.db diff --git a/attic/bigreqsproto/specs/Makefile.am b/attic/bigreqsproto/specs/Makefile.am new file mode 100644 index 0000000..5917b8f --- /dev/null +++ b/attic/bigreqsproto/specs/Makefile.am @@ -0,0 +1,13 @@ + +if ENABLE_SPECS + +# Main DocBook/XML files (DOCTYPE book) +docbook = bigreq.xml + +# The location where the DocBook/XML files and their generated formats are installed +shelfdir = $(docdir) + +# Generate DocBook/XML output formats with or without stylesheets +include $(top_srcdir)/docbook.am + +endif ENABLE_SPECS diff --git a/attic/fontsproto/docbook.am b/attic/fontsproto/docbook.am new file mode 100644 index 0000000..bba4d54 --- /dev/null +++ b/attic/fontsproto/docbook.am @@ -0,0 +1,105 @@ +# +# Generate output formats for a single DocBook/XML with/without chapters +# +# Variables set by the calling Makefile: +# shelfdir: the location where the docs/specs are installed. Typically $(docdir) +# docbook: the main DocBook/XML file, no chapters, appendix or image files +# chapters: all files pulled in by an XInclude statement and images. +# + +# +# This makefile is intended for Users Documentation and Functional Specifications. +# Do not use for Developer Documentation which is not installed and does not require olink. +# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 +# for an explanation on documents classification. +# + +# DocBook/XML generated output formats to be installed +shelf_DATA = + +# DocBook/XML file with chapters, appendix and images it includes +dist_shelf_DATA = $(docbook) $(chapters) + +if HAVE_XMLTO +if HAVE_STYLESHEETS + +XMLTO_SEARCHPATH_FLAGS = \ + --searchpath "$(XORG_SGML_PATH)/X11" \ + --searchpath "$(abs_top_builddir)" +XMLTO_HTML_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XMLTO_HTML_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_HTML_STYLESHEET_FLAGS) \ + $(XMLTO_HTML_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.html) +%.html: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< + +if HAVE_XMLTO_TEXT + +shelf_DATA += $(docbook:.xml=.txt) +%.txt: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< +endif HAVE_XMLTO_TEXT + +if HAVE_FOP +XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ +XMLTO_PDF_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +XMLTO_FO_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_FO_STYLESHEET_FLAGS) \ + $(XMLTO_FO_IMAGEPATH_FLAGS) \ + $(XMLTO_PDF_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.pdf) +%.pdf: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< + +shelf_DATA += $(docbook:.xml=.ps) +%.ps: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< +endif HAVE_FOP + +# Generate documents cross-reference target databases +if HAVE_XSLTPROC + +XSLT_SEARCHPATH_FLAGS = \ + --path "$(XORG_SGML_PATH)/X11" \ + --path "$(abs_top_builddir)" +XSLT_OLINK_FLAGS = \ + --stringparam targets.filename "$@" \ + --stringparam collect.xref.targets "only" \ + --stringparam olink.base.uri "$(@:.db=)" + +XSLT_HTML_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XSLT_PDF_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +shelf_DATA += $(docbook:.xml=.html.db) +%.html.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< + +shelf_DATA += $(docbook:.xml=.pdf.db) +%.pdf.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< + +endif HAVE_XSLTPROC +endif HAVE_STYLESHEETS +endif HAVE_XMLTO + +CLEANFILES = $(shelf_DATA) diff --git a/attic/fontsproto/specs/.gitignore b/attic/fontsproto/specs/.gitignore new file mode 100644 index 0000000..92946c9 --- /dev/null +++ b/attic/fontsproto/specs/.gitignore @@ -0,0 +1,5 @@ +*.html +*.ps +*.pdf +*.txt +*.db diff --git a/attic/fontsproto/specs/Makefile.am b/attic/fontsproto/specs/Makefile.am new file mode 100644 index 0000000..4035d4b --- /dev/null +++ b/attic/fontsproto/specs/Makefile.am @@ -0,0 +1,13 @@ + +if ENABLE_SPECS + +# Main DocBook/XML files (DOCTYPE book) +docbook = fsproto.xml + +# The location where the DocBook/XML files and their generated formats are installed +shelfdir = $(docdir) + +# Generate DocBook/XML output formats with or without stylesheets +include $(top_srcdir)/docbook.am + +endif ENABLE_SPECS diff --git a/attic/inputproto/specs/.gitignore b/attic/inputproto/specs/.gitignore new file mode 100644 index 0000000..2d19fc7 --- /dev/null +++ b/attic/inputproto/specs/.gitignore @@ -0,0 +1 @@ +*.html diff --git a/attic/inputproto/specs/Makefile.am b/attic/inputproto/specs/Makefile.am new file mode 100644 index 0000000..f2454bc --- /dev/null +++ b/attic/inputproto/specs/Makefile.am @@ -0,0 +1,14 @@ + +if ENABLE_SPECS +if HAVE_ASCIIDOC + +doc_DATA = XI2proto.html XIproto.html +dist_doc_DATA = XI2proto.txt XIproto.txt + +%.html: %.txt + $(AM_V_GEN)TZ=UTC $(ASCIIDOC) -o $@ $< + +CLEANFILES = $(doc_DATA) + +endif +endif diff --git a/attic/kbproto/docbook.am b/attic/kbproto/docbook.am new file mode 100644 index 0000000..bba4d54 --- /dev/null +++ b/attic/kbproto/docbook.am @@ -0,0 +1,105 @@ +# +# Generate output formats for a single DocBook/XML with/without chapters +# +# Variables set by the calling Makefile: +# shelfdir: the location where the docs/specs are installed. Typically $(docdir) +# docbook: the main DocBook/XML file, no chapters, appendix or image files +# chapters: all files pulled in by an XInclude statement and images. +# + +# +# This makefile is intended for Users Documentation and Functional Specifications. +# Do not use for Developer Documentation which is not installed and does not require olink. +# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 +# for an explanation on documents classification. +# + +# DocBook/XML generated output formats to be installed +shelf_DATA = + +# DocBook/XML file with chapters, appendix and images it includes +dist_shelf_DATA = $(docbook) $(chapters) + +if HAVE_XMLTO +if HAVE_STYLESHEETS + +XMLTO_SEARCHPATH_FLAGS = \ + --searchpath "$(XORG_SGML_PATH)/X11" \ + --searchpath "$(abs_top_builddir)" +XMLTO_HTML_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XMLTO_HTML_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_HTML_STYLESHEET_FLAGS) \ + $(XMLTO_HTML_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.html) +%.html: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< + +if HAVE_XMLTO_TEXT + +shelf_DATA += $(docbook:.xml=.txt) +%.txt: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< +endif HAVE_XMLTO_TEXT + +if HAVE_FOP +XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ +XMLTO_PDF_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +XMLTO_FO_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_FO_STYLESHEET_FLAGS) \ + $(XMLTO_FO_IMAGEPATH_FLAGS) \ + $(XMLTO_PDF_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.pdf) +%.pdf: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< + +shelf_DATA += $(docbook:.xml=.ps) +%.ps: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< +endif HAVE_FOP + +# Generate documents cross-reference target databases +if HAVE_XSLTPROC + +XSLT_SEARCHPATH_FLAGS = \ + --path "$(XORG_SGML_PATH)/X11" \ + --path "$(abs_top_builddir)" +XSLT_OLINK_FLAGS = \ + --stringparam targets.filename "$@" \ + --stringparam collect.xref.targets "only" \ + --stringparam olink.base.uri "$(@:.db=)" + +XSLT_HTML_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XSLT_PDF_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +shelf_DATA += $(docbook:.xml=.html.db) +%.html.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< + +shelf_DATA += $(docbook:.xml=.pdf.db) +%.pdf.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< + +endif HAVE_XSLTPROC +endif HAVE_STYLESHEETS +endif HAVE_XMLTO + +CLEANFILES = $(shelf_DATA) diff --git a/attic/kbproto/specs/.gitignore b/attic/kbproto/specs/.gitignore new file mode 100644 index 0000000..92946c9 --- /dev/null +++ b/attic/kbproto/specs/.gitignore @@ -0,0 +1,5 @@ +*.html +*.ps +*.pdf +*.txt +*.db diff --git a/attic/kbproto/specs/Makefile.am b/attic/kbproto/specs/Makefile.am new file mode 100644 index 0000000..44bc973 --- /dev/null +++ b/attic/kbproto/specs/Makefile.am @@ -0,0 +1,48 @@ + +if ENABLE_SPECS + +# Main DocBook/XML files (DOCTYPE book) +docbook = xkbproto.xml + +# Included chapters, appendix, images +chapters = \ + acknowledgements.xml \ + appA.xml \ + appB.xml \ + appC.xml \ + appD.xml \ + ch01.xml \ + ch02.xml \ + ch03.xml \ + ch04.xml \ + ch05.xml \ + ch06.xml \ + ch07.xml \ + ch08.xml \ + ch09.xml \ + ch10.xml \ + ch11.xml \ + ch12.xml \ + ch13.xml \ + ch14.xml \ + ch15.xml \ + ch16.xml \ + XKBproto-1.svg \ + XKBproto-2.svg \ + XKBproto-3.svg \ + XKBproto-4.svg \ + XKBproto-5.svg \ + XKBproto-6.svg \ + XKBproto-7.svg \ + XKBproto-8.svg \ + XKBproto-9.svg \ + XKBproto-10.svg \ + XKBproto-11.svg + +# The location where the DocBook/XML files and their generated formats are installed +shelfdir = $(docdir) + +# Generate DocBook/XML output formats with or without stylesheets +include $(top_srcdir)/docbook.am + +endif ENABLE_SPECS diff --git a/attic/recordproto/docbook.am b/attic/recordproto/docbook.am new file mode 100644 index 0000000..bba4d54 --- /dev/null +++ b/attic/recordproto/docbook.am @@ -0,0 +1,105 @@ +# +# Generate output formats for a single DocBook/XML with/without chapters +# +# Variables set by the calling Makefile: +# shelfdir: the location where the docs/specs are installed. Typically $(docdir) +# docbook: the main DocBook/XML file, no chapters, appendix or image files +# chapters: all files pulled in by an XInclude statement and images. +# + +# +# This makefile is intended for Users Documentation and Functional Specifications. +# Do not use for Developer Documentation which is not installed and does not require olink. +# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 +# for an explanation on documents classification. +# + +# DocBook/XML generated output formats to be installed +shelf_DATA = + +# DocBook/XML file with chapters, appendix and images it includes +dist_shelf_DATA = $(docbook) $(chapters) + +if HAVE_XMLTO +if HAVE_STYLESHEETS + +XMLTO_SEARCHPATH_FLAGS = \ + --searchpath "$(XORG_SGML_PATH)/X11" \ + --searchpath "$(abs_top_builddir)" +XMLTO_HTML_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XMLTO_HTML_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_HTML_STYLESHEET_FLAGS) \ + $(XMLTO_HTML_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.html) +%.html: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< + +if HAVE_XMLTO_TEXT + +shelf_DATA += $(docbook:.xml=.txt) +%.txt: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< +endif HAVE_XMLTO_TEXT + +if HAVE_FOP +XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ +XMLTO_PDF_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +XMLTO_FO_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_FO_STYLESHEET_FLAGS) \ + $(XMLTO_FO_IMAGEPATH_FLAGS) \ + $(XMLTO_PDF_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.pdf) +%.pdf: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< + +shelf_DATA += $(docbook:.xml=.ps) +%.ps: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< +endif HAVE_FOP + +# Generate documents cross-reference target databases +if HAVE_XSLTPROC + +XSLT_SEARCHPATH_FLAGS = \ + --path "$(XORG_SGML_PATH)/X11" \ + --path "$(abs_top_builddir)" +XSLT_OLINK_FLAGS = \ + --stringparam targets.filename "$@" \ + --stringparam collect.xref.targets "only" \ + --stringparam olink.base.uri "$(@:.db=)" + +XSLT_HTML_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XSLT_PDF_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +shelf_DATA += $(docbook:.xml=.html.db) +%.html.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< + +shelf_DATA += $(docbook:.xml=.pdf.db) +%.pdf.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< + +endif HAVE_XSLTPROC +endif HAVE_STYLESHEETS +endif HAVE_XMLTO + +CLEANFILES = $(shelf_DATA) diff --git a/attic/recordproto/specs/.gitignore b/attic/recordproto/specs/.gitignore new file mode 100644 index 0000000..92946c9 --- /dev/null +++ b/attic/recordproto/specs/.gitignore @@ -0,0 +1,5 @@ +*.html +*.ps +*.pdf +*.txt +*.db diff --git a/attic/recordproto/specs/Makefile.am b/attic/recordproto/specs/Makefile.am new file mode 100644 index 0000000..624abb7 --- /dev/null +++ b/attic/recordproto/specs/Makefile.am @@ -0,0 +1,13 @@ + +if ENABLE_SPECS + +# Main DocBook/XML files (DOCTYPE book) +docbook = record.xml + +# The location where the DocBook/XML files and their generated formats are installed +shelfdir = $(docdir) + +# Generate DocBook/XML output formats with or without stylesheets +include $(top_srcdir)/docbook.am + +endif ENABLE_SPECS diff --git a/attic/scrnsaverproto/docbook.am b/attic/scrnsaverproto/docbook.am new file mode 100644 index 0000000..bba4d54 --- /dev/null +++ b/attic/scrnsaverproto/docbook.am @@ -0,0 +1,105 @@ +# +# Generate output formats for a single DocBook/XML with/without chapters +# +# Variables set by the calling Makefile: +# shelfdir: the location where the docs/specs are installed. Typically $(docdir) +# docbook: the main DocBook/XML file, no chapters, appendix or image files +# chapters: all files pulled in by an XInclude statement and images. +# + +# +# This makefile is intended for Users Documentation and Functional Specifications. +# Do not use for Developer Documentation which is not installed and does not require olink. +# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 +# for an explanation on documents classification. +# + +# DocBook/XML generated output formats to be installed +shelf_DATA = + +# DocBook/XML file with chapters, appendix and images it includes +dist_shelf_DATA = $(docbook) $(chapters) + +if HAVE_XMLTO +if HAVE_STYLESHEETS + +XMLTO_SEARCHPATH_FLAGS = \ + --searchpath "$(XORG_SGML_PATH)/X11" \ + --searchpath "$(abs_top_builddir)" +XMLTO_HTML_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XMLTO_HTML_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_HTML_STYLESHEET_FLAGS) \ + $(XMLTO_HTML_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.html) +%.html: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< + +if HAVE_XMLTO_TEXT + +shelf_DATA += $(docbook:.xml=.txt) +%.txt: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< +endif HAVE_XMLTO_TEXT + +if HAVE_FOP +XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ +XMLTO_PDF_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +XMLTO_FO_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_FO_STYLESHEET_FLAGS) \ + $(XMLTO_FO_IMAGEPATH_FLAGS) \ + $(XMLTO_PDF_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.pdf) +%.pdf: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< + +shelf_DATA += $(docbook:.xml=.ps) +%.ps: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< +endif HAVE_FOP + +# Generate documents cross-reference target databases +if HAVE_XSLTPROC + +XSLT_SEARCHPATH_FLAGS = \ + --path "$(XORG_SGML_PATH)/X11" \ + --path "$(abs_top_builddir)" +XSLT_OLINK_FLAGS = \ + --stringparam targets.filename "$@" \ + --stringparam collect.xref.targets "only" \ + --stringparam olink.base.uri "$(@:.db=)" + +XSLT_HTML_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XSLT_PDF_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +shelf_DATA += $(docbook:.xml=.html.db) +%.html.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< + +shelf_DATA += $(docbook:.xml=.pdf.db) +%.pdf.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< + +endif HAVE_XSLTPROC +endif HAVE_STYLESHEETS +endif HAVE_XMLTO + +CLEANFILES = $(shelf_DATA) diff --git a/attic/scrnsaverproto/specs/.gitignore b/attic/scrnsaverproto/specs/.gitignore new file mode 100644 index 0000000..92946c9 --- /dev/null +++ b/attic/scrnsaverproto/specs/.gitignore @@ -0,0 +1,5 @@ +*.html +*.ps +*.pdf +*.txt +*.db diff --git a/attic/scrnsaverproto/specs/Makefile.am b/attic/scrnsaverproto/specs/Makefile.am new file mode 100644 index 0000000..f93e295 --- /dev/null +++ b/attic/scrnsaverproto/specs/Makefile.am @@ -0,0 +1,13 @@ + +if ENABLE_SPECS + +# Main DocBook/XML files (DOCTYPE book) +docbook = saver.xml + +# The location where the DocBook/XML files and their generated formats are installed +shelfdir = $(docdir) + +# Generate DocBook/XML output formats with or without stylesheets +include $(top_srcdir)/docbook.am + +endif ENABLE_SPECS diff --git a/attic/x11proto/docbook.am b/attic/x11proto/docbook.am new file mode 100644 index 0000000..bba4d54 --- /dev/null +++ b/attic/x11proto/docbook.am @@ -0,0 +1,105 @@ +# +# Generate output formats for a single DocBook/XML with/without chapters +# +# Variables set by the calling Makefile: +# shelfdir: the location where the docs/specs are installed. Typically $(docdir) +# docbook: the main DocBook/XML file, no chapters, appendix or image files +# chapters: all files pulled in by an XInclude statement and images. +# + +# +# This makefile is intended for Users Documentation and Functional Specifications. +# Do not use for Developer Documentation which is not installed and does not require olink. +# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 +# for an explanation on documents classification. +# + +# DocBook/XML generated output formats to be installed +shelf_DATA = + +# DocBook/XML file with chapters, appendix and images it includes +dist_shelf_DATA = $(docbook) $(chapters) + +if HAVE_XMLTO +if HAVE_STYLESHEETS + +XMLTO_SEARCHPATH_FLAGS = \ + --searchpath "$(XORG_SGML_PATH)/X11" \ + --searchpath "$(abs_top_builddir)" +XMLTO_HTML_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XMLTO_HTML_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_HTML_STYLESHEET_FLAGS) \ + $(XMLTO_HTML_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.html) +%.html: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< + +if HAVE_XMLTO_TEXT + +shelf_DATA += $(docbook:.xml=.txt) +%.txt: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< +endif HAVE_XMLTO_TEXT + +if HAVE_FOP +XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ +XMLTO_PDF_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +XMLTO_FO_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_FO_STYLESHEET_FLAGS) \ + $(XMLTO_FO_IMAGEPATH_FLAGS) \ + $(XMLTO_PDF_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.pdf) +%.pdf: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< + +shelf_DATA += $(docbook:.xml=.ps) +%.ps: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< +endif HAVE_FOP + +# Generate documents cross-reference target databases +if HAVE_XSLTPROC + +XSLT_SEARCHPATH_FLAGS = \ + --path "$(XORG_SGML_PATH)/X11" \ + --path "$(abs_top_builddir)" +XSLT_OLINK_FLAGS = \ + --stringparam targets.filename "$@" \ + --stringparam collect.xref.targets "only" \ + --stringparam olink.base.uri "$(@:.db=)" + +XSLT_HTML_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XSLT_PDF_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +shelf_DATA += $(docbook:.xml=.html.db) +%.html.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< + +shelf_DATA += $(docbook:.xml=.pdf.db) +%.pdf.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< + +endif HAVE_XSLTPROC +endif HAVE_STYLESHEETS +endif HAVE_XMLTO + +CLEANFILES = $(shelf_DATA) diff --git a/attic/x11proto/specs/.gitignore b/attic/x11proto/specs/.gitignore new file mode 100644 index 0000000..0d40e0d --- /dev/null +++ b/attic/x11proto/specs/.gitignore @@ -0,0 +1,5 @@ +*.html +*.pdf +*.ps +*.txt +*.db diff --git a/attic/x11proto/specs/Makefile.am b/attic/x11proto/specs/Makefile.am new file mode 100644 index 0000000..c7c4fe5 --- /dev/null +++ b/attic/x11proto/specs/Makefile.am @@ -0,0 +1,21 @@ +SUBDIRS = SIAddresses + +if ENABLE_SPECS + +# Main DocBook/XML files (DOCTYPE book) +docbook = x11protocol.xml + +# Included chapters, appendix, images +chapters = \ + encoding.xml \ + glossary.xml \ + keysyms.xml \ + sect1-9.xml + +# The location where the DocBook/XML files and their generated formats are installed +shelfdir = $(docdir) + +# Generate DocBook/XML output formats with or without stylesheets +include $(top_srcdir)/docbook.am + +endif ENABLE_SPECS diff --git a/attic/xcmiscproto/docbook.am b/attic/xcmiscproto/docbook.am new file mode 100644 index 0000000..bba4d54 --- /dev/null +++ b/attic/xcmiscproto/docbook.am @@ -0,0 +1,105 @@ +# +# Generate output formats for a single DocBook/XML with/without chapters +# +# Variables set by the calling Makefile: +# shelfdir: the location where the docs/specs are installed. Typically $(docdir) +# docbook: the main DocBook/XML file, no chapters, appendix or image files +# chapters: all files pulled in by an XInclude statement and images. +# + +# +# This makefile is intended for Users Documentation and Functional Specifications. +# Do not use for Developer Documentation which is not installed and does not require olink. +# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 +# for an explanation on documents classification. +# + +# DocBook/XML generated output formats to be installed +shelf_DATA = + +# DocBook/XML file with chapters, appendix and images it includes +dist_shelf_DATA = $(docbook) $(chapters) + +if HAVE_XMLTO +if HAVE_STYLESHEETS + +XMLTO_SEARCHPATH_FLAGS = \ + --searchpath "$(XORG_SGML_PATH)/X11" \ + --searchpath "$(abs_top_builddir)" +XMLTO_HTML_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XMLTO_HTML_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_HTML_STYLESHEET_FLAGS) \ + $(XMLTO_HTML_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.html) +%.html: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< + +if HAVE_XMLTO_TEXT + +shelf_DATA += $(docbook:.xml=.txt) +%.txt: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< +endif HAVE_XMLTO_TEXT + +if HAVE_FOP +XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ +XMLTO_PDF_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +XMLTO_FO_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_FO_STYLESHEET_FLAGS) \ + $(XMLTO_FO_IMAGEPATH_FLAGS) \ + $(XMLTO_PDF_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.pdf) +%.pdf: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< + +shelf_DATA += $(docbook:.xml=.ps) +%.ps: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< +endif HAVE_FOP + +# Generate documents cross-reference target databases +if HAVE_XSLTPROC + +XSLT_SEARCHPATH_FLAGS = \ + --path "$(XORG_SGML_PATH)/X11" \ + --path "$(abs_top_builddir)" +XSLT_OLINK_FLAGS = \ + --stringparam targets.filename "$@" \ + --stringparam collect.xref.targets "only" \ + --stringparam olink.base.uri "$(@:.db=)" + +XSLT_HTML_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XSLT_PDF_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +shelf_DATA += $(docbook:.xml=.html.db) +%.html.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< + +shelf_DATA += $(docbook:.xml=.pdf.db) +%.pdf.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< + +endif HAVE_XSLTPROC +endif HAVE_STYLESHEETS +endif HAVE_XMLTO + +CLEANFILES = $(shelf_DATA) diff --git a/attic/xcmiscproto/specs/.gitignore b/attic/xcmiscproto/specs/.gitignore new file mode 100644 index 0000000..92946c9 --- /dev/null +++ b/attic/xcmiscproto/specs/.gitignore @@ -0,0 +1,5 @@ +*.html +*.ps +*.pdf +*.txt +*.db diff --git a/attic/xcmiscproto/specs/Makefile.am b/attic/xcmiscproto/specs/Makefile.am new file mode 100644 index 0000000..69d3f7f --- /dev/null +++ b/attic/xcmiscproto/specs/Makefile.am @@ -0,0 +1,13 @@ + +if ENABLE_SPECS + +# Main DocBook/XML files (DOCTYPE book) +docbook = xc-misc.xml + +# The location where the DocBook/XML files and their generated formats are installed +shelfdir = $(docdir) + +# Generate DocBook/XML output formats with or without stylesheets +include $(top_srcdir)/docbook.am + +endif ENABLE_SPECS diff --git a/attic/xextproto/docbook.am b/attic/xextproto/docbook.am new file mode 100644 index 0000000..bba4d54 --- /dev/null +++ b/attic/xextproto/docbook.am @@ -0,0 +1,105 @@ +# +# Generate output formats for a single DocBook/XML with/without chapters +# +# Variables set by the calling Makefile: +# shelfdir: the location where the docs/specs are installed. Typically $(docdir) +# docbook: the main DocBook/XML file, no chapters, appendix or image files +# chapters: all files pulled in by an XInclude statement and images. +# + +# +# This makefile is intended for Users Documentation and Functional Specifications. +# Do not use for Developer Documentation which is not installed and does not require olink. +# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 +# for an explanation on documents classification. +# + +# DocBook/XML generated output formats to be installed +shelf_DATA = + +# DocBook/XML file with chapters, appendix and images it includes +dist_shelf_DATA = $(docbook) $(chapters) + +if HAVE_XMLTO +if HAVE_STYLESHEETS + +XMLTO_SEARCHPATH_FLAGS = \ + --searchpath "$(XORG_SGML_PATH)/X11" \ + --searchpath "$(abs_top_builddir)" +XMLTO_HTML_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XMLTO_HTML_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_HTML_STYLESHEET_FLAGS) \ + $(XMLTO_HTML_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.html) +%.html: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< + +if HAVE_XMLTO_TEXT + +shelf_DATA += $(docbook:.xml=.txt) +%.txt: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< +endif HAVE_XMLTO_TEXT + +if HAVE_FOP +XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ +XMLTO_PDF_OLINK_FLAGS = \ + --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ + --stringparam current.docid="$(<:.xml=)" +XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +XMLTO_FO_FLAGS = \ + $(XMLTO_SEARCHPATH_FLAGS) \ + $(XMLTO_FO_STYLESHEET_FLAGS) \ + $(XMLTO_FO_IMAGEPATH_FLAGS) \ + $(XMLTO_PDF_OLINK_FLAGS) + +shelf_DATA += $(docbook:.xml=.pdf) +%.pdf: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< + +shelf_DATA += $(docbook:.xml=.ps) +%.ps: %.xml $(chapters) + $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< +endif HAVE_FOP + +# Generate documents cross-reference target databases +if HAVE_XSLTPROC + +XSLT_SEARCHPATH_FLAGS = \ + --path "$(XORG_SGML_PATH)/X11" \ + --path "$(abs_top_builddir)" +XSLT_OLINK_FLAGS = \ + --stringparam targets.filename "$@" \ + --stringparam collect.xref.targets "only" \ + --stringparam olink.base.uri "$(@:.db=)" + +XSLT_HTML_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl +XSLT_PDF_FLAGS = \ + $(XSLT_SEARCHPATH_FLAGS) \ + $(XSLT_OLINK_FLAGS) \ + --nonet --xinclude \ + $(STYLESHEET_SRCDIR)/xorg-fo.xsl + +shelf_DATA += $(docbook:.xml=.html.db) +%.html.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< + +shelf_DATA += $(docbook:.xml=.pdf.db) +%.pdf.db: %.xml $(chapters) + $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< + +endif HAVE_XSLTPROC +endif HAVE_STYLESHEETS +endif HAVE_XMLTO + +CLEANFILES = $(shelf_DATA) diff --git a/attic/xextproto/specs/.gitignore b/attic/xextproto/specs/.gitignore new file mode 100644 index 0000000..92946c9 --- /dev/null +++ b/attic/xextproto/specs/.gitignore @@ -0,0 +1,5 @@ +*.html +*.ps +*.pdf +*.txt +*.db diff --git a/attic/xextproto/specs/Makefile.am b/attic/xextproto/specs/Makefile.am new file mode 100644 index 0000000..3b046a6 --- /dev/null +++ b/attic/xextproto/specs/Makefile.am @@ -0,0 +1,29 @@ + +if ENABLE_SPECS + +# Main DocBook/XML files (DOCTYPE book) +docbook = \ + appgrp.xml \ + dbe.xml \ + dpms.xml \ + evi.xml \ + geproto.xml \ + lbx.xml \ + multibuf.xml \ + security.xml \ + shape.xml \ + shm.xml \ + sync.xml \ + tog-cup.xml \ + xtest.xml + +# Included chapters, appendix, images +chapters = appendix.xml + +# The location where the DocBook/XML files and their generated formats are installed +shelfdir = $(docdir) + +# Generate DocBook/XML output formats with or without stylesheets +include $(top_srcdir)/docbook.am + +endif ENABLE_SPECS diff --git a/bigreqsproto/docbook.am b/bigreqsproto/docbook.am deleted file mode 100644 index bba4d54..0000000 --- a/bigreqsproto/docbook.am +++ /dev/null @@ -1,105 +0,0 @@ -# -# Generate output formats for a single DocBook/XML with/without chapters -# -# Variables set by the calling Makefile: -# shelfdir: the location where the docs/specs are installed. Typically $(docdir) -# docbook: the main DocBook/XML file, no chapters, appendix or image files -# chapters: all files pulled in by an XInclude statement and images. -# - -# -# This makefile is intended for Users Documentation and Functional Specifications. -# Do not use for Developer Documentation which is not installed and does not require olink. -# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 -# for an explanation on documents classification. -# - -# DocBook/XML generated output formats to be installed -shelf_DATA = - -# DocBook/XML file with chapters, appendix and images it includes -dist_shelf_DATA = $(docbook) $(chapters) - -if HAVE_XMLTO -if HAVE_STYLESHEETS - -XMLTO_SEARCHPATH_FLAGS = \ - --searchpath "$(XORG_SGML_PATH)/X11" \ - --searchpath "$(abs_top_builddir)" -XMLTO_HTML_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XMLTO_HTML_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_HTML_STYLESHEET_FLAGS) \ - $(XMLTO_HTML_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.html) -%.html: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< - -if HAVE_XMLTO_TEXT - -shelf_DATA += $(docbook:.xml=.txt) -%.txt: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< -endif HAVE_XMLTO_TEXT - -if HAVE_FOP -XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ -XMLTO_PDF_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -XMLTO_FO_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_FO_STYLESHEET_FLAGS) \ - $(XMLTO_FO_IMAGEPATH_FLAGS) \ - $(XMLTO_PDF_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.pdf) -%.pdf: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< - -shelf_DATA += $(docbook:.xml=.ps) -%.ps: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< -endif HAVE_FOP - -# Generate documents cross-reference target databases -if HAVE_XSLTPROC - -XSLT_SEARCHPATH_FLAGS = \ - --path "$(XORG_SGML_PATH)/X11" \ - --path "$(abs_top_builddir)" -XSLT_OLINK_FLAGS = \ - --stringparam targets.filename "$@" \ - --stringparam collect.xref.targets "only" \ - --stringparam olink.base.uri "$(@:.db=)" - -XSLT_HTML_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XSLT_PDF_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -shelf_DATA += $(docbook:.xml=.html.db) -%.html.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< - -shelf_DATA += $(docbook:.xml=.pdf.db) -%.pdf.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< - -endif HAVE_XSLTPROC -endif HAVE_STYLESHEETS -endif HAVE_XMLTO - -CLEANFILES = $(shelf_DATA) diff --git a/bigreqsproto/specs/.gitignore b/bigreqsproto/specs/.gitignore deleted file mode 100644 index 92946c9..0000000 --- a/bigreqsproto/specs/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.html -*.ps -*.pdf -*.txt -*.db diff --git a/bigreqsproto/specs/Makefile.am b/bigreqsproto/specs/Makefile.am deleted file mode 100644 index 5917b8f..0000000 --- a/bigreqsproto/specs/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ - -if ENABLE_SPECS - -# Main DocBook/XML files (DOCTYPE book) -docbook = bigreq.xml - -# The location where the DocBook/XML files and their generated formats are installed -shelfdir = $(docdir) - -# Generate DocBook/XML output formats with or without stylesheets -include $(top_srcdir)/docbook.am - -endif ENABLE_SPECS diff --git a/fontsproto/docbook.am b/fontsproto/docbook.am deleted file mode 100644 index bba4d54..0000000 --- a/fontsproto/docbook.am +++ /dev/null @@ -1,105 +0,0 @@ -# -# Generate output formats for a single DocBook/XML with/without chapters -# -# Variables set by the calling Makefile: -# shelfdir: the location where the docs/specs are installed. Typically $(docdir) -# docbook: the main DocBook/XML file, no chapters, appendix or image files -# chapters: all files pulled in by an XInclude statement and images. -# - -# -# This makefile is intended for Users Documentation and Functional Specifications. -# Do not use for Developer Documentation which is not installed and does not require olink. -# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 -# for an explanation on documents classification. -# - -# DocBook/XML generated output formats to be installed -shelf_DATA = - -# DocBook/XML file with chapters, appendix and images it includes -dist_shelf_DATA = $(docbook) $(chapters) - -if HAVE_XMLTO -if HAVE_STYLESHEETS - -XMLTO_SEARCHPATH_FLAGS = \ - --searchpath "$(XORG_SGML_PATH)/X11" \ - --searchpath "$(abs_top_builddir)" -XMLTO_HTML_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XMLTO_HTML_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_HTML_STYLESHEET_FLAGS) \ - $(XMLTO_HTML_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.html) -%.html: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< - -if HAVE_XMLTO_TEXT - -shelf_DATA += $(docbook:.xml=.txt) -%.txt: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< -endif HAVE_XMLTO_TEXT - -if HAVE_FOP -XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ -XMLTO_PDF_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -XMLTO_FO_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_FO_STYLESHEET_FLAGS) \ - $(XMLTO_FO_IMAGEPATH_FLAGS) \ - $(XMLTO_PDF_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.pdf) -%.pdf: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< - -shelf_DATA += $(docbook:.xml=.ps) -%.ps: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< -endif HAVE_FOP - -# Generate documents cross-reference target databases -if HAVE_XSLTPROC - -XSLT_SEARCHPATH_FLAGS = \ - --path "$(XORG_SGML_PATH)/X11" \ - --path "$(abs_top_builddir)" -XSLT_OLINK_FLAGS = \ - --stringparam targets.filename "$@" \ - --stringparam collect.xref.targets "only" \ - --stringparam olink.base.uri "$(@:.db=)" - -XSLT_HTML_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XSLT_PDF_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -shelf_DATA += $(docbook:.xml=.html.db) -%.html.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< - -shelf_DATA += $(docbook:.xml=.pdf.db) -%.pdf.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< - -endif HAVE_XSLTPROC -endif HAVE_STYLESHEETS -endif HAVE_XMLTO - -CLEANFILES = $(shelf_DATA) diff --git a/fontsproto/specs/.gitignore b/fontsproto/specs/.gitignore deleted file mode 100644 index 92946c9..0000000 --- a/fontsproto/specs/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.html -*.ps -*.pdf -*.txt -*.db diff --git a/fontsproto/specs/Makefile.am b/fontsproto/specs/Makefile.am deleted file mode 100644 index 4035d4b..0000000 --- a/fontsproto/specs/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ - -if ENABLE_SPECS - -# Main DocBook/XML files (DOCTYPE book) -docbook = fsproto.xml - -# The location where the DocBook/XML files and their generated formats are installed -shelfdir = $(docdir) - -# Generate DocBook/XML output formats with or without stylesheets -include $(top_srcdir)/docbook.am - -endif ENABLE_SPECS diff --git a/inputproto/specs/.gitignore b/inputproto/specs/.gitignore deleted file mode 100644 index 2d19fc7..0000000 --- a/inputproto/specs/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.html diff --git a/inputproto/specs/Makefile.am b/inputproto/specs/Makefile.am deleted file mode 100644 index f2454bc..0000000 --- a/inputproto/specs/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ - -if ENABLE_SPECS -if HAVE_ASCIIDOC - -doc_DATA = XI2proto.html XIproto.html -dist_doc_DATA = XI2proto.txt XIproto.txt - -%.html: %.txt - $(AM_V_GEN)TZ=UTC $(ASCIIDOC) -o $@ $< - -CLEANFILES = $(doc_DATA) - -endif -endif diff --git a/kbproto/docbook.am b/kbproto/docbook.am deleted file mode 100644 index bba4d54..0000000 --- a/kbproto/docbook.am +++ /dev/null @@ -1,105 +0,0 @@ -# -# Generate output formats for a single DocBook/XML with/without chapters -# -# Variables set by the calling Makefile: -# shelfdir: the location where the docs/specs are installed. Typically $(docdir) -# docbook: the main DocBook/XML file, no chapters, appendix or image files -# chapters: all files pulled in by an XInclude statement and images. -# - -# -# This makefile is intended for Users Documentation and Functional Specifications. -# Do not use for Developer Documentation which is not installed and does not require olink. -# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 -# for an explanation on documents classification. -# - -# DocBook/XML generated output formats to be installed -shelf_DATA = - -# DocBook/XML file with chapters, appendix and images it includes -dist_shelf_DATA = $(docbook) $(chapters) - -if HAVE_XMLTO -if HAVE_STYLESHEETS - -XMLTO_SEARCHPATH_FLAGS = \ - --searchpath "$(XORG_SGML_PATH)/X11" \ - --searchpath "$(abs_top_builddir)" -XMLTO_HTML_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XMLTO_HTML_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_HTML_STYLESHEET_FLAGS) \ - $(XMLTO_HTML_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.html) -%.html: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< - -if HAVE_XMLTO_TEXT - -shelf_DATA += $(docbook:.xml=.txt) -%.txt: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< -endif HAVE_XMLTO_TEXT - -if HAVE_FOP -XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ -XMLTO_PDF_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -XMLTO_FO_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_FO_STYLESHEET_FLAGS) \ - $(XMLTO_FO_IMAGEPATH_FLAGS) \ - $(XMLTO_PDF_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.pdf) -%.pdf: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< - -shelf_DATA += $(docbook:.xml=.ps) -%.ps: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< -endif HAVE_FOP - -# Generate documents cross-reference target databases -if HAVE_XSLTPROC - -XSLT_SEARCHPATH_FLAGS = \ - --path "$(XORG_SGML_PATH)/X11" \ - --path "$(abs_top_builddir)" -XSLT_OLINK_FLAGS = \ - --stringparam targets.filename "$@" \ - --stringparam collect.xref.targets "only" \ - --stringparam olink.base.uri "$(@:.db=)" - -XSLT_HTML_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XSLT_PDF_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -shelf_DATA += $(docbook:.xml=.html.db) -%.html.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< - -shelf_DATA += $(docbook:.xml=.pdf.db) -%.pdf.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< - -endif HAVE_XSLTPROC -endif HAVE_STYLESHEETS -endif HAVE_XMLTO - -CLEANFILES = $(shelf_DATA) diff --git a/kbproto/specs/.gitignore b/kbproto/specs/.gitignore deleted file mode 100644 index 92946c9..0000000 --- a/kbproto/specs/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.html -*.ps -*.pdf -*.txt -*.db diff --git a/kbproto/specs/Makefile.am b/kbproto/specs/Makefile.am deleted file mode 100644 index 44bc973..0000000 --- a/kbproto/specs/Makefile.am +++ /dev/null @@ -1,48 +0,0 @@ - -if ENABLE_SPECS - -# Main DocBook/XML files (DOCTYPE book) -docbook = xkbproto.xml - -# Included chapters, appendix, images -chapters = \ - acknowledgements.xml \ - appA.xml \ - appB.xml \ - appC.xml \ - appD.xml \ - ch01.xml \ - ch02.xml \ - ch03.xml \ - ch04.xml \ - ch05.xml \ - ch06.xml \ - ch07.xml \ - ch08.xml \ - ch09.xml \ - ch10.xml \ - ch11.xml \ - ch12.xml \ - ch13.xml \ - ch14.xml \ - ch15.xml \ - ch16.xml \ - XKBproto-1.svg \ - XKBproto-2.svg \ - XKBproto-3.svg \ - XKBproto-4.svg \ - XKBproto-5.svg \ - XKBproto-6.svg \ - XKBproto-7.svg \ - XKBproto-8.svg \ - XKBproto-9.svg \ - XKBproto-10.svg \ - XKBproto-11.svg - -# The location where the DocBook/XML files and their generated formats are installed -shelfdir = $(docdir) - -# Generate DocBook/XML output formats with or without stylesheets -include $(top_srcdir)/docbook.am - -endif ENABLE_SPECS diff --git a/recordproto/docbook.am b/recordproto/docbook.am deleted file mode 100644 index bba4d54..0000000 --- a/recordproto/docbook.am +++ /dev/null @@ -1,105 +0,0 @@ -# -# Generate output formats for a single DocBook/XML with/without chapters -# -# Variables set by the calling Makefile: -# shelfdir: the location where the docs/specs are installed. Typically $(docdir) -# docbook: the main DocBook/XML file, no chapters, appendix or image files -# chapters: all files pulled in by an XInclude statement and images. -# - -# -# This makefile is intended for Users Documentation and Functional Specifications. -# Do not use for Developer Documentation which is not installed and does not require olink. -# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 -# for an explanation on documents classification. -# - -# DocBook/XML generated output formats to be installed -shelf_DATA = - -# DocBook/XML file with chapters, appendix and images it includes -dist_shelf_DATA = $(docbook) $(chapters) - -if HAVE_XMLTO -if HAVE_STYLESHEETS - -XMLTO_SEARCHPATH_FLAGS = \ - --searchpath "$(XORG_SGML_PATH)/X11" \ - --searchpath "$(abs_top_builddir)" -XMLTO_HTML_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XMLTO_HTML_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_HTML_STYLESHEET_FLAGS) \ - $(XMLTO_HTML_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.html) -%.html: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< - -if HAVE_XMLTO_TEXT - -shelf_DATA += $(docbook:.xml=.txt) -%.txt: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< -endif HAVE_XMLTO_TEXT - -if HAVE_FOP -XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ -XMLTO_PDF_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -XMLTO_FO_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_FO_STYLESHEET_FLAGS) \ - $(XMLTO_FO_IMAGEPATH_FLAGS) \ - $(XMLTO_PDF_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.pdf) -%.pdf: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< - -shelf_DATA += $(docbook:.xml=.ps) -%.ps: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< -endif HAVE_FOP - -# Generate documents cross-reference target databases -if HAVE_XSLTPROC - -XSLT_SEARCHPATH_FLAGS = \ - --path "$(XORG_SGML_PATH)/X11" \ - --path "$(abs_top_builddir)" -XSLT_OLINK_FLAGS = \ - --stringparam targets.filename "$@" \ - --stringparam collect.xref.targets "only" \ - --stringparam olink.base.uri "$(@:.db=)" - -XSLT_HTML_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XSLT_PDF_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -shelf_DATA += $(docbook:.xml=.html.db) -%.html.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< - -shelf_DATA += $(docbook:.xml=.pdf.db) -%.pdf.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< - -endif HAVE_XSLTPROC -endif HAVE_STYLESHEETS -endif HAVE_XMLTO - -CLEANFILES = $(shelf_DATA) diff --git a/recordproto/specs/.gitignore b/recordproto/specs/.gitignore deleted file mode 100644 index 92946c9..0000000 --- a/recordproto/specs/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.html -*.ps -*.pdf -*.txt -*.db diff --git a/recordproto/specs/Makefile.am b/recordproto/specs/Makefile.am deleted file mode 100644 index 624abb7..0000000 --- a/recordproto/specs/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ - -if ENABLE_SPECS - -# Main DocBook/XML files (DOCTYPE book) -docbook = record.xml - -# The location where the DocBook/XML files and their generated formats are installed -shelfdir = $(docdir) - -# Generate DocBook/XML output formats with or without stylesheets -include $(top_srcdir)/docbook.am - -endif ENABLE_SPECS diff --git a/scrnsaverproto/docbook.am b/scrnsaverproto/docbook.am deleted file mode 100644 index bba4d54..0000000 --- a/scrnsaverproto/docbook.am +++ /dev/null @@ -1,105 +0,0 @@ -# -# Generate output formats for a single DocBook/XML with/without chapters -# -# Variables set by the calling Makefile: -# shelfdir: the location where the docs/specs are installed. Typically $(docdir) -# docbook: the main DocBook/XML file, no chapters, appendix or image files -# chapters: all files pulled in by an XInclude statement and images. -# - -# -# This makefile is intended for Users Documentation and Functional Specifications. -# Do not use for Developer Documentation which is not installed and does not require olink. -# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 -# for an explanation on documents classification. -# - -# DocBook/XML generated output formats to be installed -shelf_DATA = - -# DocBook/XML file with chapters, appendix and images it includes -dist_shelf_DATA = $(docbook) $(chapters) - -if HAVE_XMLTO -if HAVE_STYLESHEETS - -XMLTO_SEARCHPATH_FLAGS = \ - --searchpath "$(XORG_SGML_PATH)/X11" \ - --searchpath "$(abs_top_builddir)" -XMLTO_HTML_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XMLTO_HTML_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_HTML_STYLESHEET_FLAGS) \ - $(XMLTO_HTML_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.html) -%.html: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< - -if HAVE_XMLTO_TEXT - -shelf_DATA += $(docbook:.xml=.txt) -%.txt: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< -endif HAVE_XMLTO_TEXT - -if HAVE_FOP -XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ -XMLTO_PDF_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -XMLTO_FO_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_FO_STYLESHEET_FLAGS) \ - $(XMLTO_FO_IMAGEPATH_FLAGS) \ - $(XMLTO_PDF_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.pdf) -%.pdf: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< - -shelf_DATA += $(docbook:.xml=.ps) -%.ps: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< -endif HAVE_FOP - -# Generate documents cross-reference target databases -if HAVE_XSLTPROC - -XSLT_SEARCHPATH_FLAGS = \ - --path "$(XORG_SGML_PATH)/X11" \ - --path "$(abs_top_builddir)" -XSLT_OLINK_FLAGS = \ - --stringparam targets.filename "$@" \ - --stringparam collect.xref.targets "only" \ - --stringparam olink.base.uri "$(@:.db=)" - -XSLT_HTML_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XSLT_PDF_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -shelf_DATA += $(docbook:.xml=.html.db) -%.html.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< - -shelf_DATA += $(docbook:.xml=.pdf.db) -%.pdf.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< - -endif HAVE_XSLTPROC -endif HAVE_STYLESHEETS -endif HAVE_XMLTO - -CLEANFILES = $(shelf_DATA) diff --git a/scrnsaverproto/specs/.gitignore b/scrnsaverproto/specs/.gitignore deleted file mode 100644 index 92946c9..0000000 --- a/scrnsaverproto/specs/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.html -*.ps -*.pdf -*.txt -*.db diff --git a/scrnsaverproto/specs/Makefile.am b/scrnsaverproto/specs/Makefile.am deleted file mode 100644 index f93e295..0000000 --- a/scrnsaverproto/specs/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ - -if ENABLE_SPECS - -# Main DocBook/XML files (DOCTYPE book) -docbook = saver.xml - -# The location where the DocBook/XML files and their generated formats are installed -shelfdir = $(docdir) - -# Generate DocBook/XML output formats with or without stylesheets -include $(top_srcdir)/docbook.am - -endif ENABLE_SPECS diff --git a/x11proto/docbook.am b/x11proto/docbook.am deleted file mode 100644 index bba4d54..0000000 --- a/x11proto/docbook.am +++ /dev/null @@ -1,105 +0,0 @@ -# -# Generate output formats for a single DocBook/XML with/without chapters -# -# Variables set by the calling Makefile: -# shelfdir: the location where the docs/specs are installed. Typically $(docdir) -# docbook: the main DocBook/XML file, no chapters, appendix or image files -# chapters: all files pulled in by an XInclude statement and images. -# - -# -# This makefile is intended for Users Documentation and Functional Specifications. -# Do not use for Developer Documentation which is not installed and does not require olink. -# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 -# for an explanation on documents classification. -# - -# DocBook/XML generated output formats to be installed -shelf_DATA = - -# DocBook/XML file with chapters, appendix and images it includes -dist_shelf_DATA = $(docbook) $(chapters) - -if HAVE_XMLTO -if HAVE_STYLESHEETS - -XMLTO_SEARCHPATH_FLAGS = \ - --searchpath "$(XORG_SGML_PATH)/X11" \ - --searchpath "$(abs_top_builddir)" -XMLTO_HTML_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XMLTO_HTML_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_HTML_STYLESHEET_FLAGS) \ - $(XMLTO_HTML_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.html) -%.html: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< - -if HAVE_XMLTO_TEXT - -shelf_DATA += $(docbook:.xml=.txt) -%.txt: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< -endif HAVE_XMLTO_TEXT - -if HAVE_FOP -XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ -XMLTO_PDF_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -XMLTO_FO_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_FO_STYLESHEET_FLAGS) \ - $(XMLTO_FO_IMAGEPATH_FLAGS) \ - $(XMLTO_PDF_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.pdf) -%.pdf: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< - -shelf_DATA += $(docbook:.xml=.ps) -%.ps: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< -endif HAVE_FOP - -# Generate documents cross-reference target databases -if HAVE_XSLTPROC - -XSLT_SEARCHPATH_FLAGS = \ - --path "$(XORG_SGML_PATH)/X11" \ - --path "$(abs_top_builddir)" -XSLT_OLINK_FLAGS = \ - --stringparam targets.filename "$@" \ - --stringparam collect.xref.targets "only" \ - --stringparam olink.base.uri "$(@:.db=)" - -XSLT_HTML_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XSLT_PDF_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -shelf_DATA += $(docbook:.xml=.html.db) -%.html.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< - -shelf_DATA += $(docbook:.xml=.pdf.db) -%.pdf.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< - -endif HAVE_XSLTPROC -endif HAVE_STYLESHEETS -endif HAVE_XMLTO - -CLEANFILES = $(shelf_DATA) diff --git a/x11proto/specs/.gitignore b/x11proto/specs/.gitignore deleted file mode 100644 index 0d40e0d..0000000 --- a/x11proto/specs/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.html -*.pdf -*.ps -*.txt -*.db diff --git a/x11proto/specs/Makefile.am b/x11proto/specs/Makefile.am deleted file mode 100644 index c7c4fe5..0000000 --- a/x11proto/specs/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -SUBDIRS = SIAddresses - -if ENABLE_SPECS - -# Main DocBook/XML files (DOCTYPE book) -docbook = x11protocol.xml - -# Included chapters, appendix, images -chapters = \ - encoding.xml \ - glossary.xml \ - keysyms.xml \ - sect1-9.xml - -# The location where the DocBook/XML files and their generated formats are installed -shelfdir = $(docdir) - -# Generate DocBook/XML output formats with or without stylesheets -include $(top_srcdir)/docbook.am - -endif ENABLE_SPECS diff --git a/xcmiscproto/docbook.am b/xcmiscproto/docbook.am deleted file mode 100644 index bba4d54..0000000 --- a/xcmiscproto/docbook.am +++ /dev/null @@ -1,105 +0,0 @@ -# -# Generate output formats for a single DocBook/XML with/without chapters -# -# Variables set by the calling Makefile: -# shelfdir: the location where the docs/specs are installed. Typically $(docdir) -# docbook: the main DocBook/XML file, no chapters, appendix or image files -# chapters: all files pulled in by an XInclude statement and images. -# - -# -# This makefile is intended for Users Documentation and Functional Specifications. -# Do not use for Developer Documentation which is not installed and does not require olink. -# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 -# for an explanation on documents classification. -# - -# DocBook/XML generated output formats to be installed -shelf_DATA = - -# DocBook/XML file with chapters, appendix and images it includes -dist_shelf_DATA = $(docbook) $(chapters) - -if HAVE_XMLTO -if HAVE_STYLESHEETS - -XMLTO_SEARCHPATH_FLAGS = \ - --searchpath "$(XORG_SGML_PATH)/X11" \ - --searchpath "$(abs_top_builddir)" -XMLTO_HTML_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XMLTO_HTML_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_HTML_STYLESHEET_FLAGS) \ - $(XMLTO_HTML_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.html) -%.html: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< - -if HAVE_XMLTO_TEXT - -shelf_DATA += $(docbook:.xml=.txt) -%.txt: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< -endif HAVE_XMLTO_TEXT - -if HAVE_FOP -XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ -XMLTO_PDF_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -XMLTO_FO_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_FO_STYLESHEET_FLAGS) \ - $(XMLTO_FO_IMAGEPATH_FLAGS) \ - $(XMLTO_PDF_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.pdf) -%.pdf: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< - -shelf_DATA += $(docbook:.xml=.ps) -%.ps: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< -endif HAVE_FOP - -# Generate documents cross-reference target databases -if HAVE_XSLTPROC - -XSLT_SEARCHPATH_FLAGS = \ - --path "$(XORG_SGML_PATH)/X11" \ - --path "$(abs_top_builddir)" -XSLT_OLINK_FLAGS = \ - --stringparam targets.filename "$@" \ - --stringparam collect.xref.targets "only" \ - --stringparam olink.base.uri "$(@:.db=)" - -XSLT_HTML_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XSLT_PDF_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -shelf_DATA += $(docbook:.xml=.html.db) -%.html.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< - -shelf_DATA += $(docbook:.xml=.pdf.db) -%.pdf.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< - -endif HAVE_XSLTPROC -endif HAVE_STYLESHEETS -endif HAVE_XMLTO - -CLEANFILES = $(shelf_DATA) diff --git a/xcmiscproto/specs/.gitignore b/xcmiscproto/specs/.gitignore deleted file mode 100644 index 92946c9..0000000 --- a/xcmiscproto/specs/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.html -*.ps -*.pdf -*.txt -*.db diff --git a/xcmiscproto/specs/Makefile.am b/xcmiscproto/specs/Makefile.am deleted file mode 100644 index 69d3f7f..0000000 --- a/xcmiscproto/specs/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ - -if ENABLE_SPECS - -# Main DocBook/XML files (DOCTYPE book) -docbook = xc-misc.xml - -# The location where the DocBook/XML files and their generated formats are installed -shelfdir = $(docdir) - -# Generate DocBook/XML output formats with or without stylesheets -include $(top_srcdir)/docbook.am - -endif ENABLE_SPECS diff --git a/xextproto/docbook.am b/xextproto/docbook.am deleted file mode 100644 index bba4d54..0000000 --- a/xextproto/docbook.am +++ /dev/null @@ -1,105 +0,0 @@ -# -# Generate output formats for a single DocBook/XML with/without chapters -# -# Variables set by the calling Makefile: -# shelfdir: the location where the docs/specs are installed. Typically $(docdir) -# docbook: the main DocBook/XML file, no chapters, appendix or image files -# chapters: all files pulled in by an XInclude statement and images. -# - -# -# This makefile is intended for Users Documentation and Functional Specifications. -# Do not use for Developer Documentation which is not installed and does not require olink. -# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393 -# for an explanation on documents classification. -# - -# DocBook/XML generated output formats to be installed -shelf_DATA = - -# DocBook/XML file with chapters, appendix and images it includes -dist_shelf_DATA = $(docbook) $(chapters) - -if HAVE_XMLTO -if HAVE_STYLESHEETS - -XMLTO_SEARCHPATH_FLAGS = \ - --searchpath "$(XORG_SGML_PATH)/X11" \ - --searchpath "$(abs_top_builddir)" -XMLTO_HTML_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XMLTO_HTML_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_HTML_STYLESHEET_FLAGS) \ - $(XMLTO_HTML_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.html) -%.html: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $< - -if HAVE_XMLTO_TEXT - -shelf_DATA += $(docbook:.xml=.txt) -%.txt: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< -endif HAVE_XMLTO_TEXT - -if HAVE_FOP -XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/ -XMLTO_PDF_OLINK_FLAGS = \ - --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \ - --stringparam current.docid="$(<:.xml=)" -XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -XMLTO_FO_FLAGS = \ - $(XMLTO_SEARCHPATH_FLAGS) \ - $(XMLTO_FO_STYLESHEET_FLAGS) \ - $(XMLTO_FO_IMAGEPATH_FLAGS) \ - $(XMLTO_PDF_OLINK_FLAGS) - -shelf_DATA += $(docbook:.xml=.pdf) -%.pdf: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $< - -shelf_DATA += $(docbook:.xml=.ps) -%.ps: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $< -endif HAVE_FOP - -# Generate documents cross-reference target databases -if HAVE_XSLTPROC - -XSLT_SEARCHPATH_FLAGS = \ - --path "$(XORG_SGML_PATH)/X11" \ - --path "$(abs_top_builddir)" -XSLT_OLINK_FLAGS = \ - --stringparam targets.filename "$@" \ - --stringparam collect.xref.targets "only" \ - --stringparam olink.base.uri "$(@:.db=)" - -XSLT_HTML_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl -XSLT_PDF_FLAGS = \ - $(XSLT_SEARCHPATH_FLAGS) \ - $(XSLT_OLINK_FLAGS) \ - --nonet --xinclude \ - $(STYLESHEET_SRCDIR)/xorg-fo.xsl - -shelf_DATA += $(docbook:.xml=.html.db) -%.html.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $< - -shelf_DATA += $(docbook:.xml=.pdf.db) -%.pdf.db: %.xml $(chapters) - $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $< - -endif HAVE_XSLTPROC -endif HAVE_STYLESHEETS -endif HAVE_XMLTO - -CLEANFILES = $(shelf_DATA) diff --git a/xextproto/specs/.gitignore b/xextproto/specs/.gitignore deleted file mode 100644 index 92946c9..0000000 --- a/xextproto/specs/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.html -*.ps -*.pdf -*.txt -*.db diff --git a/xextproto/specs/Makefile.am b/xextproto/specs/Makefile.am deleted file mode 100644 index 3b046a6..0000000 --- a/xextproto/specs/Makefile.am +++ /dev/null @@ -1,29 +0,0 @@ - -if ENABLE_SPECS - -# Main DocBook/XML files (DOCTYPE book) -docbook = \ - appgrp.xml \ - dbe.xml \ - dpms.xml \ - evi.xml \ - geproto.xml \ - lbx.xml \ - multibuf.xml \ - security.xml \ - shape.xml \ - shm.xml \ - sync.xml \ - tog-cup.xml \ - xtest.xml - -# Included chapters, appendix, images -chapters = appendix.xml - -# The location where the DocBook/XML files and their generated formats are installed -shelfdir = $(docdir) - -# Generate DocBook/XML output formats with or without stylesheets -include $(top_srcdir)/docbook.am - -endif ENABLE_SPECS -- cgit v1.2.3