[PATCH xorg-docs] config: delete various accessory build files for old docs

Gaetan Nadon memsize at videotron.ca
Tue Sep 14 11:48:33 PDT 2010


Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 Makefile.am        |    7 +--
 sgml/Makefile.am   |    4 -
 sgml/add.sh        |   13 ---
 sgml/index.post    |   31 -------
 sgml/index.pre     |   19 -----
 sgml/mdefs.pre     |   20 -----
 util/block.awk     |   22 -----
 util/fixindex.awk  |   73 -----------------
 util/indexmacros.t |   42 ----------
 util/macros.t      |  226 ----------------------------------------------------
 10 files changed, 1 insertions(+), 456 deletions(-)
 delete mode 100644 sgml/add.sh
 delete mode 100644 sgml/index.post
 delete mode 100644 sgml/index.pre
 delete mode 100644 sgml/mdefs.pre
 delete mode 100644 util/block.awk
 delete mode 100644 util/fixindex.awk
 delete mode 100644 util/indexmacros.t
 delete mode 100644 util/macros.t

diff --git a/Makefile.am b/Makefile.am
index f463b75..f261dcc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -63,12 +63,7 @@ EXTRA_DIST = \
 	specs/XKB/XKBlib/XKBlib.book \
 	specs/Xserver/analysis.xml \
 	specs/Xserver/appgroup.xml \
-	specs/Xserver/secint.xml \
-	util/block.awk \
-	util/fixindex.awk \
-	util/indexmacros.t \
-	util/macros.t
-
+	specs/Xserver/secint.xml
 
 .PHONY: ChangeLog INSTALL
 
diff --git a/sgml/Makefile.am b/sgml/Makefile.am
index 11f6fc3..64b59b6 100644
--- a/sgml/Makefile.am
+++ b/sgml/Makefile.am
@@ -33,9 +33,5 @@ SGML_FILES = \
 include $(top_srcdir)/sgmlrules.in
 
 EXTRA_DIST = \
-	add.sh \
-	index.post \
-	index.pre \
-	mdefs.pre \
 	Japanese/1st.sgml \
 	Japanese/read98.sgml
diff --git a/sgml/add.sh b/sgml/add.sh
deleted file mode 100644
index d97b845..0000000
--- a/sgml/add.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-#
-# $XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/add.sh,v 1.2 2003/10/18 13:29:34 dawes Exp $
-#
-name=`basename $1 .sgml`
-sgmlfmt -f index $name.sgml | \
-	sed -e 's,<title>,<item><htmlurl name=",' \
-	    -e 's,</title>," url="'$name.html'"> <htmlurl name="[PDF]" url="'../PDF/$name.pdf'">,' \
-	    -e 's,<author>,<!-- ,' \
-	    -e 's,</author>, -->,' \
-	    -e 's,<date>,<!-- ,' \
-	    -e 's,</date>, -->,' >> index.sgml
-exit 0
diff --git a/sgml/index.post b/sgml/index.post
deleted file mode 100644
index bfc866e..0000000
--- a/sgml/index.post
+++ /dev/null
@@ -1,31 +0,0 @@
-
-</itemize>
-
-<![ %manpages; [
-<p>
-Manual pages:
-<itemize>
-<item><htmlurl name="Section 1" url="manindex1.html">: Commands
-<item><htmlurl name="Section 3" url="manindex3.html">: Library Functions
-<item><htmlurl name="Section &drvsuffix;" url="manindex&drvsuffix;.html">: Drivers
-<item><htmlurl name="Section &filesuffix;" url="manindex&filesuffix;.html">: Files and file formats
-<item><htmlurl name="Section &miscsuffix;" url="manindex&miscsuffix;.html">: Miscellaneous
-</itemize>
-<p>
-]]>
-
-<![ %specdocs; [
-<p>
-Other:
-<itemize>
-<item><htmlurl name="Specification and Related Documents" url="specindex.html">
-</itemize>
-<p>
-]]>
-
-
-</article>
-
-<!--
-$XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/index.post,v 1.2 2000/03/21 19:57:10 dawes Exp $
--->
diff --git a/sgml/index.pre b/sgml/index.pre
deleted file mode 100644
index 3a4abbc..0000000
--- a/sgml/index.pre
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE linuxdoc PUBLIC "-//XFree86//DTD linuxdoc//EN"[
-<!ENTITY % defs SYSTEM "defs.ent"> %defs;
-<!ENTITY % mdefs SYSTEM "mdefs.ent"> %mdefs;
-]>
- 
-<article>
-
-<!-- Title information -->
-<title>Documentation for the X Window System Version 11 Release &relvers; (X11R&relvers;)
-<author>The X.Org Foundation
-<date>&reldate;
-
-<!--
-$XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/index.pre,v 1.23 2004/02/15 02:16:49 dawes Exp $ 
--->
-
-<p>
-<itemize>
-
diff --git a/sgml/mdefs.pre b/sgml/mdefs.pre
deleted file mode 100644
index 7ace207..0000000
--- a/sgml/mdefs.pre
+++ /dev/null
@@ -1,20 +0,0 @@
-<!-- $XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/mdefs.cpp,v 1.1 2000/03/21 19:57:11 dawes Exp $ -->
-
-<!-- entity definitions for man pages -->
-
-#ifdef HTML_MANPAGES
-<!ENTITY % manpages 'INCLUDE'>
-#else
-<!ENTITY % manpages 'IGNORE'>
-#endif
-
-#ifdef HTML_SPECS
-<!ENTITY % specdocs 'INCLUDE'>
-#else
-<!ENTITY % specdocs 'IGNORE'>
-#endif
-
-<!ENTITY drvsuffix CDATA __drivermansuffix__ >
-<!ENTITY filesuffix CDATA __filemansuffix__ >
-<!ENTITY miscsuffix CDATA __miscmansuffix__ >
-
diff --git a/util/block.awk b/util/block.awk
deleted file mode 100644
index 0dd75f3..0000000
--- a/util/block.awk
+++ /dev/null
@@ -1,22 +0,0 @@
-BEGIN {
-	firstchar = "@";
-	a["a"] = "A"; a["b"] = "B"; a["c"] = "C";
-	a["d"] = "D"; a["e"] = "E"; a["f"] = "F";
-	a["g"] = "G"; a["h"] = "H"; a["i"] = "I";
-	a["j"] = "J"; a["k"] = "K"; a["l"] = "L";
-	a["m"] = "M"; a["n"] = "N"; a["o"] = "O";
-	a["p"] = "P"; a["q"] = "Q"; a["r"] = "R";
-	a["s"] = "S"; a["t"] = "T"; a["u"] = "U";
-	a["v"] = "V"; a["w"] = "W"; a["x"] = "X";
-	a["y"] = "Y"; a["z"] = "Z";
-}
-
-{
-	c = substr($2,2,1);
-	if (c >= "a" && c <= "z")
-		c = a[c];
-	if (c != firstchar)
-		printf(".LB %s\n", c);
-	firstchar = c;
-	print;
-}
diff --git a/util/fixindex.awk b/util/fixindex.awk
deleted file mode 100644
index e8849f3..0000000
--- a/util/fixindex.awk
+++ /dev/null
@@ -1,73 +0,0 @@
-BEGIN {
-	FS = ":";
-	BD = "\\s+1\\fB";
-	ED = "\\fP\\s-1";
-}
-
-NR == 1 {
-	if ($3 != "")
-		printf(".Ib \"%s\"\n", $2);
-	major = $2;
-	minor = $3;
-	if ($4 == "@DEF@") {
-		pagelist = BD $1 ED;
-	}
-	else {
-		pagelist = $1;
-	}
-	pageno = $1;
-	oldpageno = $1;
-	oldpagelist = "";
-}
-
-NR != 1 {
-	if ($2 == major && $3 == minor)		# neither has changed
-	{
-		if ($1 != pageno) {		# new page number, append
-			oldpageno = $1;
-			oldpagelist = pagelist;
-			if ($4 == "@DEF@") {
-				pagelist = pagelist ", " BD $1 ED;
-			}
-			else {
-				pagelist = pagelist ", " $1;
-			}
-		}
-		else {				# old page, but check for def
-               	        if ($4 == "@DEF@") {
-                            if (pageno == oldpageno) {
-                                if (oldpagelist != "")
-                                        oldpagelist = oldpagelist ", "
-			    }
-                            pagelist = oldpagelist BD $1 ED;
-                        }
-                }
-	}
-	else					# one has changed
-	{
-		if (minor != "")		# dump full record
-			printf(".I< \"%s\" \"%s\" \"%s\"\n", major, minor, pagelist);
-		else
-			printf(".I> \"%s\" \"%s\"\n", major, pagelist);
-		if ($4 == "@DEF@") {		# restart pagelist
-			pagelist = BD $1 ED;
-		}
-		else {
-			pagelist = $1;
-		}
-		oldpagelist = "";
-		oldpageno = $1;
-		if ($2 != major && $3 != "")	# major has changed, minor not null
-		printf(".Ib \"%s\"\n", $2);
-	}
-	major = $2;
-	minor = $3;
-	pageno = $1;
-}
-
-END {
-	if (minor != "")			# dump full record
-		printf(".I< \"%s\" \"%s\" \"%s\"\n", major, minor, pagelist);
-	else
-		printf(".I> \"%s\" \"%s\"\n", major, pagelist);
-}
diff --git a/util/indexmacros.t b/util/indexmacros.t
deleted file mode 100644
index 4660f18..0000000
--- a/util/indexmacros.t
+++ /dev/null
@@ -1,42 +0,0 @@
-. \" Macros for the index
-.de Ib	\" blank major entry
-.br
-.ne 2v
-\\$1:
-..
-.de I>	\" major entry
-.br
-\\$1, \\$2
-..
-.de I<  \" minor entry
-.br
-   \\$2, \\$3
-..
-.de LB	\" new letter starts here
-.di DT	\" start diverted text
-.sp
-.sz +2
-.b
-\\$1
-.r
-.sz -2
-.sp
-.di	\" end diverted text
-.ne \\n(dnu+1v	\" get enough space for it
-.DT		\" output it
-..
-.\" set up various parameters for the right evironment.
-.\" Your taste may be different.
-.ef ''\fB % \fP''
-.of ''\fB % \fP''
-.++ A
-.po 1.0i	\" physical offset
-.ta 5iR		\" right alignment tab
-.lp             \" initialize -me
-.ce
-.sz 18
-Index
-.sp 1
-.sz 10
-.2c		\" 2 column mode
-.sp 3
diff --git a/util/macros.t b/util/macros.t
deleted file mode 100644
index cbc599b..0000000
--- a/util/macros.t
+++ /dev/null
@@ -1,226 +0,0 @@
-.\" $Xorg: macros.t,v 1.3 2000/08/17 19:42:51 cpqbld Exp $
-.\" macros.t -- macros for X Consortium documents
-.\" Revised and commented by smarks 93.12.20.
-.\"
-.\" global setup: set ragged right, assign string variables
-.\"
-.na
-.ie n \{\
-.ds Q \&"
-.ds U \&"
-.ds - \%--
-.\}
-.el \{\
-.ds Q `\h'-\w'\^'u'`
-.ds U '\h'-\w'\^'u''
-.ds - \(em
-.\}
-.\"
-.\" --- Ds --- displayed text (like .DS) with no keep
-.\" .Ds is obsolete.  Change to something from this table:
-.\" for this	use instead
-.\" .Ds		.ID
-.\" .Ds n	.LD		(where "n" is a number)
-.\" (Numbers don't work in these macros, so ".Ds 5"
-.\" comes out the same as ".Ds 0".)
-.\"
-.de Ds
-.nf
-.\\$1D \\$2 \\$1
-.ft 1
-.ps \\n(PS
-.if \\n(VS>=40 .vs \\n(VSu
-.if \\n(VS<=39 .vs \\n(VSp
-..
-.de D
-.ID \\$1
-..
-.de 0D
-.LD
-..
-.\" backward compatibility for the Xt spec
-.de 5D
-.LD
-..
-.\"
-.\" --- De --- obsolete: use .DE instead
-.\"
-.de De
-.DE
-..
-.\"
-.\" --- FD ---
-.\"
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.\"
-.\" --- FN ---
-.\"
-.de FN
-.fi
-.KE
-.LP
-..
-.\"
-.\" --- IN --- send an index entry to the stderr
-.\"
-.de IN
-.tm \\n%:\\$1:\\$2:\\$3
-..
-.\"
-.\" --- C{ ---
-.\"
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"	choose appropriate monospace font
-.\"	the imagen conditional, 480,
-.\"	may be changed to L if LB is too
-.\"	heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.\"
-.\" --- C} ---
-.\"
-.de C}
-.DE
-.R
-..
-.\"
-.\" --- Pn --- like PN, but use $2; $1 and $3 abut
-.\"
-.de Pn
-.IN \\$2
-.ie t \\$1\fB\^\\$2\^\fR\\$3
-.el \\$1\fI\^\\$2\^\fP\\$3
-..
-.\"
-.\" --- PN --- put $1 in boldface and add index entry; $2 abuts
-.\"
-.de PN
-.IN \\$1
-.ie t \fB\^\\$1\^\fR\\$2
-.el \fI\^\\$1\^\fP\\$2
-..
-.\"
-.\" --- hI --- add index entry for $1 as header file
-.\"
-.de hI
-.IN         <\\$1>
-.IN Files   <\\$1>
-.IN Headers <\\$1>
-..
-.\"
-.\" --- hN --- put $1 in boldface as header and add index entry; $2 abuts
-.\"
-.de hN
-.hI \\$1
-.ie t <\fB\\$1\fR>\\$2
-.el <\fI\\$1\fP>\\$2
-..
-.\"
-.\" --- NT ---
-.\"
-.de NT
-.br
-.ne 7
-.ds NO Note
-.if \\n(.$ .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.\" .QS/.QE macros don't exist in older versions of -ms
-.ie \\n(GS .QS
-.el \{\
-.	in +5n
-.	ll -5n
-.\}
-.R
-..
-.\"
-.\" --- NE --- Note End (doug kraft 3/85)
-.\"
-.de NE
-.ce 0
-.ie \\n(GS .QE
-.el \{\
-.	in -5n
-.	ll +5n
-.\}
-.ie n .sp
-.el .sp 10p
-..
-.\"
-.\" --- nH --- numbered header (like NH) but with automatic TOC entry
-.\" usage: .nH level "section title, preferable in quotes"
-.\"
-.de nH
-.NH \\$1
-\\$2
-.XS
-\\*(SN \\$2
-.XE
-..
-.\"
-.\" --- sM --- put start-marker in margin
-.\"
-.de sM
-.KS
-.sp 1
-\\h'-0.5i'\\L'-1v'\\v'1p'\\l'1v'\\v'1v-1p'
-.sp -1
-..
-.\"
-.\" --- eM --- put end-marker in margin
-.\"
-.de eM
-.sp -1
-\\h'-0.5i'\\L'-1v'\\v'1v+1p'\\l'1v'\\v'-1p'
-.sp 1
-.KE
-..
-.\"
-.\" --- YZ --- finish up; $1 is the starting page number of the TOC
-.\"
-.de YZ
-.		\" Force there to be an even number of pages, so the table of
-.		\" contents doesn't end up on the back of the last page in
-.		\" the case of duplex printing.
-.if o .bp
-.		\" Emit a .pn directive with one plus the last page number.
-		\" This will be the number of the first page of the index.
-.nr YZ \\n%+1
-.tm .pn \\n(YZ
-.		\" Issue the table of contents, setting roman numerals,
-.		\" and redefining the footer to use them.
-.bp \\$1
-.af PN i
-.EF ''\\\\\\\\n(PN''
-.OF ''\\\\\\\\n(PN''
-.		\" Why all the backslashes?  This string is evaluated
-.		\" three times: 1) during the definition of this macro,
-.		\" 2) when the .EF and .OF macros are expanded, and 3)
-.		\" when the bottom-of-page trap is invoked.  Thus,
-.		\" eight backslashes are reduced to one in the final output.
-.PX
-..
-- 
1.6.0.4



More information about the xorg-devel mailing list