summaryrefslogtreecommitdiff
path: root/sandbox/py-rest-doc/etc/inst.diff
blob: 30f4140482caf3e0bc54884a1b64d0451ac50780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
Index: inst/inst.tex
===================================================================
--- inst/inst.tex	(Revision 54633)
+++ inst/inst.tex	(Arbeitskopie)
@@ -324,32 +324,6 @@
 section~\ref{custom-install} on custom installations.
 
 
-% This rather nasty macro is used to generate the tables that describe
-% each installation scheme.  It's nasty because it takes two arguments
-% for each "slot" in an installation scheme, there will soon be more
-% than five of these slots, and TeX has a limit of 10 arguments to a
-% macro.  Uh-oh.
-
-\newcommand{\installscheme}[8]
-  {\begin{tableiii}{l|l|l}{textrm}
-          {Type of file}
-          {Installation Directory}
-          {Override option}
-     \lineiii{pure module distribution}
-             {\filevar{#1}\filenq{#2}}
-             {\longprogramopt{install-purelib}}
-     \lineiii{non-pure module distribution}
-             {\filevar{#3}\filenq{#4}}
-             {\longprogramopt{install-platlib}}
-     \lineiii{scripts}
-             {\filevar{#5}\filenq{#6}}
-             {\longprogramopt{install-scripts}}
-     \lineiii{data}
-             {\filevar{#7}\filenq{#8}}
-             {\longprogramopt{install-data}}
-   \end{tableiii}}
-
-
 \section{Alternate Installation}
 \label{alt-install}
 
@@ -399,10 +373,23 @@
 The \longprogramopt{home} option defines the installation base
 directory.  Files are installed to the following directories under the
 installation base as follows:
-\installscheme{home}{/lib/python}
-              {home}{/lib/python}
-              {home}{/bin}
-              {home}{/share}
+\begin{tableiii}{l|l|l}{textrm}
+          {Type of file}
+          {Installation Directory}
+          {Override option}
+     \lineiii{pure module distribution}
+             {\filevar{home}\filenq{/lib/python}}
+             {\longprogramopt{install-purelib}}
+     \lineiii{non-pure module distribution}
+             {\filevar{home}\filenq{/lib/python}}
+             {\longprogramopt{install-platlib}}
+     \lineiii{scripts}
+             {\filevar{home}\filenq{/bin}}
+             {\longprogramopt{install-scripts}}
+     \lineiii{data}
+             {\filevar{home}\filenq{/share}}
+             {\longprogramopt{install-data}}
+\end{tableiii}
 
 
 \versionchanged[The \longprogramopt{home} option used to be supported
@@ -452,10 +439,23 @@
 etc.)  If \longprogramopt{exec-prefix} is not supplied, it defaults to
 \longprogramopt{prefix}.  Files are installed as follows:
 
-\installscheme{prefix}{/lib/python2.\filevar{X}/site-packages}
-              {exec-prefix}{/lib/python2.\filevar{X}/site-packages}
-              {prefix}{/bin}
-              {prefix}{/share}
+\begin{tableiii}{l|l|l}{textrm}
+          {Type of file}
+          {Installation Directory}
+          {Override option}
+     \lineiii{pure module distribution}
+             {\filevar{prefix}\filenq{/lib/python2.\filevar{X}/site-packages}}
+             {\longprogramopt{install-purelib}}
+     \lineiii{non-pure module distribution}
+             {\filevar{exec-prefix}\filenq{/lib/python2.\filevar{X}/site-packages}}
+             {\longprogramopt{install-platlib}}
+     \lineiii{scripts}
+             {\filevar{prefix}\filenq{/bin}}
+             {\longprogramopt{install-scripts}}
+     \lineiii{data}
+             {\filevar{prefix}\filenq{/share}}
+             {\longprogramopt{install-data}}
+\end{tableiii}
 
 There is no requirement that \longprogramopt{prefix} or
 \longprogramopt{exec-prefix} actually point to an alternate Python
@@ -502,11 +502,24 @@
 The installation base is defined by the \longprogramopt{prefix} option;
 the \longprogramopt{exec-prefix} option is not supported under Windows.
 Files are installed as follows:
-\installscheme{prefix}{}
-              {prefix}{}
-              {prefix}{\textbackslash{}Scripts}
-              {prefix}{\textbackslash{}Data}
 
+\begin{tableiii}{l|l|l}{textrm}
+          {Type of file}
+          {Installation Directory}
+          {Override option}
+     \lineiii{pure module distribution}
+             {\filevar{prefix}\filenq{}}
+             {\longprogramopt{install-purelib}}
+     \lineiii{non-pure module distribution}
+             {\filevar{prefix}\filenq{}}
+             {\longprogramopt{install-platlib}}
+     \lineiii{scripts}
+             {\filevar{prefix}\filenq{\textbackslash{}Scripts}}
+             {\longprogramopt{install-scripts}}
+     \lineiii{data}
+             {\filevar{prefix}\filenq{\textbackslash{}Data}}
+             {\longprogramopt{install-data}}
+\end{tableiii}
 
 
 \section{Custom Installation}