setup 4.0.0 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (223) hide show
  1. data/CHANGES +42 -0
  2. data/MANIFEST +48 -215
  3. data/README +8 -12
  4. data/RELEASE +41 -0
  5. data/VERSION +2 -0
  6. data/doc/assets/images/setup-small.png +0 -0
  7. data/doc/assets/images/setup.png +0 -0
  8. data/doc/assets/styles/custom.css +59 -0
  9. data/doc/guide/doc.en/custom.css +47 -0
  10. data/doc/{manual → guide}/doc.en/devel.html +24 -17
  11. data/doc/{manual → guide}/doc.en/hookapi.html +11 -2
  12. data/doc/guide/doc.en/index.html +50 -0
  13. data/doc/{manual → guide}/doc.en/metaconfapi.html +14 -2
  14. data/doc/{manual → guide}/doc.en/usage.html +12 -3
  15. data/doc/{manual → guide}/doc.ja/devel.html +0 -0
  16. data/doc/{manual → guide}/doc.ja/hookapi.html +0 -0
  17. data/doc/{manual → guide}/doc.ja/index.html +0 -0
  18. data/doc/{manual → guide}/doc.ja/metaconfapi.html +0 -0
  19. data/doc/{manual → guide}/doc.ja/news.html +0 -0
  20. data/doc/{manual → guide}/doc.ja/usage.html +0 -0
  21. data/doc/index.html +58 -0
  22. data/doc/log/bstats/stats.html +39 -0
  23. data/doc/log/notes.xml +28 -0
  24. data/doc/log/stats.log +14 -0
  25. data/doc/log/syntax.log +0 -0
  26. data/doc/log/testunit.log +60 -0
  27. data/doc/note/TODO +14 -0
  28. data/doc/note/changelog-3.4.1.txt +732 -0
  29. data/doc/{manual/doc.en → note}/news.html +5 -0
  30. data/doc/note/release-4.0.0.txt +26 -0
  31. data/lib/setup.rb +1 -1
  32. data/lib/setup/command.rb +16 -11
  33. data/lib/setup/config.rb +128 -14
  34. data/lib/setup/install.rb +89 -67
  35. data/meta/abstract +8 -0
  36. data/meta/authors +3 -0
  37. data/meta/contact +1 -0
  38. data/meta/created +1 -0
  39. data/meta/homepage +1 -0
  40. data/meta/summary +1 -0
  41. data/{script → task}/install +0 -0
  42. data/test/test_installer.rb +139 -0
  43. metadata +65 -231
  44. data/HISTORY +0 -7
  45. data/METADATA +0 -25
  46. data/NEWS +0 -21
  47. data/doc/manual/doc.en/index.html +0 -28
  48. data/doc/rdoc/classes/Errno.html +0 -89
  49. data/doc/rdoc/classes/Errno/ENOTEMPTY.html +0 -92
  50. data/doc/rdoc/classes/File.html +0 -134
  51. data/doc/rdoc/classes/Setup.html +0 -107
  52. data/doc/rdoc/classes/Setup/Command.html +0 -276
  53. data/doc/rdoc/classes/Setup/ConfigTable.html +0 -622
  54. data/doc/rdoc/classes/Setup/Installer.html +0 -2454
  55. data/doc/rdoc/classes/Setup/Installer/Shebang.html +0 -187
  56. data/doc/rdoc/classes/SetupError.html +0 -92
  57. data/doc/rdoc/created.rid +0 -1
  58. data/doc/rdoc/files/COPYING.html +0 -759
  59. data/doc/rdoc/files/HISTORY.html +0 -104
  60. data/doc/rdoc/files/METADATA.html +0 -92
  61. data/doc/rdoc/files/NEWS.html +0 -113
  62. data/doc/rdoc/files/README.html +0 -214
  63. data/doc/rdoc/files/bin/setup_rb.html +0 -96
  64. data/doc/rdoc/files/lib/setup/build_rb.html +0 -96
  65. data/doc/rdoc/files/lib/setup/command_rb.html +0 -98
  66. data/doc/rdoc/files/lib/setup/config_rb.html +0 -98
  67. data/doc/rdoc/files/lib/setup/error_rb.html +0 -92
  68. data/doc/rdoc/files/lib/setup/install_rb.html +0 -116
  69. data/doc/rdoc/files/lib/setup/rake_rb.html +0 -97
  70. data/doc/rdoc/files/lib/setup/rubyver_rb.html +0 -96
  71. data/doc/rdoc/files/lib/setup_rb.html +0 -92
  72. data/doc/rdoc/fr_class_index.html +0 -55
  73. data/doc/rdoc/fr_file_index.html +0 -60
  74. data/doc/rdoc/fr_method_index.html +0 -182
  75. data/doc/rdoc/index.html +0 -26
  76. data/doc/rdoc/rdoc-style.css +0 -177
  77. data/doc/ri/Errno/ENOTEMPTY/cdesc-ENOTEMPTY.yaml +0 -15
  78. data/doc/ri/Errno/cdesc-Errno.yaml +0 -15
  79. data/doc/ri/File/cdesc-File.yaml +0 -18
  80. data/doc/ri/File/dir%3f-c.yaml +0 -12
  81. data/doc/ri/File/read-c.yaml +0 -10
  82. data/doc/ri/Setup/Command/cdesc-Command.yaml +0 -28
  83. data/doc/ri/Setup/Command/help-i.yaml +0 -12
  84. data/doc/ri/Setup/Command/run-c.yaml +0 -11
  85. data/doc/ri/Setup/Command/run-i.yaml +0 -11
  86. data/doc/ri/Setup/ConfigTable/%5b%5d%3d-i.yaml +0 -12
  87. data/doc/ri/Setup/ConfigTable/%5b%5d-i.yaml +0 -12
  88. data/doc/ri/Setup/ConfigTable/attr_accessor-c.yaml +0 -12
  89. data/doc/ri/Setup/ConfigTable/attr_boolean-c.yaml +0 -12
  90. data/doc/ri/Setup/ConfigTable/attr_pathlist-c.yaml +0 -12
  91. data/doc/ri/Setup/ConfigTable/attr_pathname-c.yaml +0 -12
  92. data/doc/ri/Setup/ConfigTable/cdesc-ConfigTable.yaml +0 -66
  93. data/doc/ri/Setup/ConfigTable/compiles%3f-i.yaml +0 -10
  94. data/doc/ri/Setup/ConfigTable/env_config-i.yaml +0 -12
  95. data/doc/ri/Setup/ConfigTable/extconfs-i.yaml +0 -11
  96. data/doc/ri/Setup/ConfigTable/extensions-i.yaml +0 -10
  97. data/doc/ri/Setup/ConfigTable/initialize_defaults-i.yaml +0 -14
  98. data/doc/ri/Setup/ConfigTable/installdirs%3d-i.yaml +0 -12
  99. data/doc/ri/Setup/ConfigTable/load_config-i.yaml +0 -12
  100. data/doc/ri/Setup/ConfigTable/new-c.yaml +0 -12
  101. data/doc/ri/Setup/ConfigTable/save_config-i.yaml +0 -12
  102. data/doc/ri/Setup/ConfigTable/shebang%3d-i.yaml +0 -12
  103. data/doc/ri/Setup/ConfigTable/show-i.yaml +0 -10
  104. data/doc/ri/Setup/Installer/Shebang/cdesc-Shebang.yaml +0 -28
  105. data/doc/ri/Setup/Installer/Shebang/load-c.yaml +0 -10
  106. data/doc/ri/Setup/Installer/Shebang/new-c.yaml +0 -10
  107. data/doc/ri/Setup/Installer/Shebang/parse-c.yaml +0 -10
  108. data/doc/ri/Setup/Installer/Shebang/to_s-i.yaml +0 -10
  109. data/doc/ri/Setup/Installer/binread-i.yaml +0 -14
  110. data/doc/ri/Setup/Installer/cdesc-Installer.yaml +0 -281
  111. data/doc/ri/Setup/Installer/clean_dir_bin-i.yaml +0 -12
  112. data/doc/ri/Setup/Installer/clean_dir_data-i.yaml +0 -12
  113. data/doc/ri/Setup/Installer/clean_dir_doc-i.yaml +0 -12
  114. data/doc/ri/Setup/Installer/clean_dir_etc-i.yaml +0 -12
  115. data/doc/ri/Setup/Installer/clean_dir_ext-i.yaml +0 -10
  116. data/doc/ri/Setup/Installer/clean_dir_lib-i.yaml +0 -12
  117. data/doc/ri/Setup/Installer/clean_dir_man-i.yaml +0 -12
  118. data/doc/ri/Setup/Installer/command-i.yaml +0 -10
  119. data/doc/ri/Setup/Installer/compiles%3f-i.yaml +0 -10
  120. data/doc/ri/Setup/Installer/config_dir_bin-i.yaml +0 -12
  121. data/doc/ri/Setup/Installer/config_dir_data-i.yaml +0 -12
  122. data/doc/ri/Setup/Installer/config_dir_doc-i.yaml +0 -12
  123. data/doc/ri/Setup/Installer/config_dir_etc-i.yaml +0 -12
  124. data/doc/ri/Setup/Installer/config_dir_ext-i.yaml +0 -10
  125. data/doc/ri/Setup/Installer/config_dir_lib-i.yaml +0 -12
  126. data/doc/ri/Setup/Installer/config_dir_man-i.yaml +0 -12
  127. data/doc/ri/Setup/Installer/curr_objdir-i.yaml +0 -10
  128. data/doc/ri/Setup/Installer/curr_srcdir-i.yaml +0 -12
  129. data/doc/ri/Setup/Installer/diff%3f-i.yaml +0 -10
  130. data/doc/ri/Setup/Installer/directories_of-i.yaml +0 -10
  131. data/doc/ri/Setup/Installer/distclean_dir_bin-i.yaml +0 -12
  132. data/doc/ri/Setup/Installer/distclean_dir_data-i.yaml +0 -12
  133. data/doc/ri/Setup/Installer/distclean_dir_doc-i.yaml +0 -10
  134. data/doc/ri/Setup/Installer/distclean_dir_etc-i.yaml +0 -12
  135. data/doc/ri/Setup/Installer/distclean_dir_ext-i.yaml +0 -10
  136. data/doc/ri/Setup/Installer/distclean_dir_lib-i.yaml +0 -12
  137. data/doc/ri/Setup/Installer/distclean_dir_man-i.yaml +0 -12
  138. data/doc/ri/Setup/Installer/dive_into-i.yaml +0 -10
  139. data/doc/ri/Setup/Installer/dllext-i.yaml +0 -10
  140. data/doc/ri/Setup/Installer/exec_all-i.yaml +0 -12
  141. data/doc/ri/Setup/Installer/exec_clean-i.yaml +0 -12
  142. data/doc/ri/Setup/Installer/exec_config-i.yaml +0 -12
  143. data/doc/ri/Setup/Installer/exec_distclean-i.yaml +0 -12
  144. data/doc/ri/Setup/Installer/exec_doc-i.yaml +0 -11
  145. data/doc/ri/Setup/Installer/exec_install-i.yaml +0 -12
  146. data/doc/ri/Setup/Installer/exec_rdoc-i.yaml +0 -14
  147. data/doc/ri/Setup/Installer/exec_ri-i.yaml +0 -12
  148. data/doc/ri/Setup/Installer/exec_setup-i.yaml +0 -14
  149. data/doc/ri/Setup/Installer/exec_show-i.yaml +0 -12
  150. data/doc/ri/Setup/Installer/exec_task_traverse-i.yaml +0 -12
  151. data/doc/ri/Setup/Installer/exec_test-i.yaml +0 -14
  152. data/doc/ri/Setup/Installer/exec_uninstall-i.yaml +0 -12
  153. data/doc/ri/Setup/Installer/existfiles-i.yaml +0 -10
  154. data/doc/ri/Setup/Installer/extconf-i.yaml +0 -10
  155. data/doc/ri/Setup/Installer/extdir%3f-i.yaml +0 -10
  156. data/doc/ri/Setup/Installer/extensions-i.yaml +0 -12
  157. data/doc/ri/Setup/Installer/files_of-i.yaml +0 -10
  158. data/doc/ri/Setup/Installer/force_remove_file-i.yaml +0 -10
  159. data/doc/ri/Setup/Installer/get_config-i.yaml +0 -11
  160. data/doc/ri/Setup/Installer/glob_reject-i.yaml +0 -10
  161. data/doc/ri/Setup/Installer/glob_select-i.yaml +0 -10
  162. data/doc/ri/Setup/Installer/globs2re-i.yaml +0 -10
  163. data/doc/ri/Setup/Installer/hookfiles-i.yaml +0 -10
  164. data/doc/ri/Setup/Installer/inspect-i.yaml +0 -10
  165. data/doc/ri/Setup/Installer/install-i.yaml +0 -10
  166. data/doc/ri/Setup/Installer/install_dir_bin-i.yaml +0 -10
  167. data/doc/ri/Setup/Installer/install_dir_data-i.yaml +0 -10
  168. data/doc/ri/Setup/Installer/install_dir_doc-i.yaml +0 -12
  169. data/doc/ri/Setup/Installer/install_dir_etc-i.yaml +0 -10
  170. data/doc/ri/Setup/Installer/install_dir_ext-i.yaml +0 -10
  171. data/doc/ri/Setup/Installer/install_dir_lib-i.yaml +0 -10
  172. data/doc/ri/Setup/Installer/install_dir_man-i.yaml +0 -10
  173. data/doc/ri/Setup/Installer/install_files-i.yaml +0 -10
  174. data/doc/ri/Setup/Installer/installation%21-i.yaml +0 -10
  175. data/doc/ri/Setup/Installer/installation%3f-i.yaml +0 -12
  176. data/doc/ri/Setup/Installer/libfiles-i.yaml +0 -10
  177. data/doc/ri/Setup/Installer/make-i.yaml +0 -10
  178. data/doc/ri/Setup/Installer/mapdir-i.yaml +0 -10
  179. data/doc/ri/Setup/Installer/mkdir_p-i.yaml +0 -10
  180. data/doc/ri/Setup/Installer/move_file-i.yaml +0 -10
  181. data/doc/ri/Setup/Installer/new-c.yaml +0 -12
  182. data/doc/ri/Setup/Installer/new_shebang-i.yaml +0 -10
  183. data/doc/ri/Setup/Installer/no_harm%3f-i.yaml +0 -10
  184. data/doc/ri/Setup/Installer/noop-i.yaml +0 -54
  185. data/doc/ri/Setup/Installer/objdir_root-i.yaml +0 -10
  186. data/doc/ri/Setup/Installer/open_atomic_writer-i.yaml +0 -10
  187. data/doc/ri/Setup/Installer/quiet%3f-i.yaml +0 -10
  188. data/doc/ri/Setup/Installer/record_installation-i.yaml +0 -10
  189. data/doc/ri/Setup/Installer/relpath-i.yaml +0 -10
  190. data/doc/ri/Setup/Installer/remove_file-i.yaml +0 -10
  191. data/doc/ri/Setup/Installer/remove_tree-i.yaml +0 -10
  192. data/doc/ri/Setup/Installer/remove_tree0-i.yaml +0 -10
  193. data/doc/ri/Setup/Installer/report_header-i.yaml +0 -11
  194. data/doc/ri/Setup/Installer/rm_f-i.yaml +0 -10
  195. data/doc/ri/Setup/Installer/rm_rf-i.yaml +0 -10
  196. data/doc/ri/Setup/Installer/rmdir-i.yaml +0 -10
  197. data/doc/ri/Setup/Installer/ruby-i.yaml +0 -10
  198. data/doc/ri/Setup/Installer/rubyextentions-i.yaml +0 -10
  199. data/doc/ri/Setup/Installer/run_hook-i.yaml +0 -10
  200. data/doc/ri/Setup/Installer/set_config-i.yaml +0 -12
  201. data/doc/ri/Setup/Installer/setup_dir_bin-i.yaml +0 -10
  202. data/doc/ri/Setup/Installer/setup_dir_data-i.yaml +0 -12
  203. data/doc/ri/Setup/Installer/setup_dir_doc-i.yaml +0 -12
  204. data/doc/ri/Setup/Installer/setup_dir_etc-i.yaml +0 -12
  205. data/doc/ri/Setup/Installer/setup_dir_ext-i.yaml +0 -10
  206. data/doc/ri/Setup/Installer/setup_dir_lib-i.yaml +0 -12
  207. data/doc/ri/Setup/Installer/setup_dir_man-i.yaml +0 -12
  208. data/doc/ri/Setup/Installer/srcdir_root-i.yaml +0 -12
  209. data/doc/ri/Setup/Installer/srcdirectories-i.yaml +0 -10
  210. data/doc/ri/Setup/Installer/srcdirectory%3f-i.yaml +0 -10
  211. data/doc/ri/Setup/Installer/srcentries-i.yaml +0 -10
  212. data/doc/ri/Setup/Installer/srcexist%3f-i.yaml +0 -10
  213. data/doc/ri/Setup/Installer/srcfile%3f-i.yaml +0 -10
  214. data/doc/ri/Setup/Installer/srcfile-i.yaml +0 -10
  215. data/doc/ri/Setup/Installer/srcfiles-i.yaml +0 -10
  216. data/doc/ri/Setup/Installer/targetfiles-i.yaml +0 -10
  217. data/doc/ri/Setup/Installer/traverse-i.yaml +0 -10
  218. data/doc/ri/Setup/Installer/update_shebang_line-i.yaml +0 -10
  219. data/doc/ri/Setup/Installer/verbose%3f-i.yaml +0 -10
  220. data/doc/ri/Setup/Installer/verbose_off-i.yaml +0 -10
  221. data/doc/ri/Setup/cdesc-Setup.yaml +0 -15
  222. data/doc/ri/SetupError/cdesc-SetupError.yaml +0 -15
  223. data/doc/ri/created.rid +0 -1
@@ -0,0 +1,47 @@
1
+ body {
2
+ font-family: sans-serif;
3
+ font-size: 12px;
4
+ padding: 0;
5
+ margin: 0;
6
+ background: #fff;
7
+ }
8
+
9
+ h1 {
10
+ font-family: times;
11
+ font-size: 36pt;
12
+ color: #500;
13
+ padding-bottom: 20px;
14
+ }
15
+
16
+ h2 {
17
+ font-size: 24pt;
18
+ margin-top: 50px;
19
+ }
20
+
21
+ img {
22
+ margin-right: 15px;
23
+ }
24
+
25
+ hr {
26
+ color: #cccccc;
27
+ }
28
+
29
+ #content {
30
+ width: 720px;
31
+ margin: 0 auto;
32
+ padding: 20px;
33
+ background: #FFF;
34
+ padding-bottom: 40px;
35
+ }
36
+
37
+ #copyright {
38
+ margin: 5px 0px;
39
+ font-family: monospace;
40
+ font-size: 10px;
41
+ text-align: center;
42
+ color: #cccccc;
43
+ }
44
+
45
+ #tigerops { width: 900px; margin: 30 auto;}
46
+ #tigerops iframe { width: 900px; border: none; }
47
+
@@ -3,11 +3,15 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
5
5
  <meta http-equiv="Content-Language" content="en">
6
- <title>Creating Packages with setup.rb</title>
6
+ <link href="../../assets/images/setup-small.png" rel="shortcut icon"/>
7
+ <link href="custom.css" rel="stylesheet" type="text/css"/>
8
+ <title>Creating Packages with setup.rb</title>
7
9
  </head>
8
10
  <body>
9
-
10
- <h1>Creating Packages with setup.rb</h1>
11
+ <div id="content">
12
+ <img src="../../assets/images/setup-small.png" align="left"/>
13
+ <h1>Creating Packages</h1>
14
+ <hr/>
11
15
  <h2>Creating Single Package Archive</h2>
12
16
  <p>
13
17
  &quot;Single Package Archive&quot; means the archive which includes
@@ -19,7 +23,6 @@ setup.rb requires that the archive is structured like this:
19
23
  </p>
20
24
  <pre>
21
25
  PackageTop/
22
- setup.rb
23
26
  lib/
24
27
  (ruby scripts)
25
28
  ext/
@@ -28,7 +31,7 @@ PackageTop/
28
31
  (commands)
29
32
  data/
30
33
  (data files)
31
- conf/
34
+ etc/
32
35
  (configuration files)
33
36
  man/
34
37
  (manual pages)
@@ -39,13 +42,7 @@ PackageTop/
39
42
  Each file/directories acts as below:
40
43
  </p>
41
44
  <dl>
42
- <dt>setup.rb</dt>
43
- <dd><p>
44
- The installer. This file is included in this archive.
45
- Just copy it to your package.
46
- </p>
47
- </dd>
48
- <dt>lib/, bin/, data/, conf/, man/</dt>
45
+ <dt>lib/, bin/, data/, etc/, man/</dt>
49
46
  <dd><p>
50
47
  These directories includes files which are to be installed.
51
48
  This directory tree is mirrored to the target directory, from 'lib/'
@@ -53,7 +50,7 @@ to 'RUBYLIB/', from 'bin/' to 'BINDIR/', from 'data/' to 'DATADIR/' ....
53
50
  </p>
54
51
  <p>
55
52
  Use 'lib/' for ruby scripts, 'bin/' for commands, 'data/' for any
56
- other data files, 'conf/' for configuration files, 'man/' for
53
+ other data files, 'etc/' for configuration files, 'man/' for
57
54
  manual pages.
58
55
  </p>
59
56
  </dd>
@@ -75,6 +72,8 @@ test scripts which run on test/unit library.
75
72
  </p>
76
73
  </dd>
77
74
  </dl>
75
+
76
+ <!--
78
77
  <h2>Creating Multi-Package Archive</h2>
79
78
  <p>
80
79
  setup.rb can handle an archive which includes multiple PACKAGEs.
@@ -91,7 +90,7 @@ PackageTop/
91
90
  lib/
92
91
  ext/
93
92
  data/
94
- conf/
93
+ etc/
95
94
  man/
96
95
  test/
97
96
  raccrt/ &lt;--- raccrt package
@@ -99,7 +98,7 @@ PackageTop/
99
98
  lib/
100
99
  ext/
101
100
  data/
102
- conf/
101
+ etc/
103
102
  man/
104
103
  test/
105
104
  strscan/ &lt;--- strscan package
@@ -107,7 +106,7 @@ PackageTop/
107
106
  lib/
108
107
  ext/
109
108
  data/
110
- conf/
109
+ etc/
111
110
  man/
112
111
  test/
113
112
  amstd/ &lt;--- amstd package
@@ -115,10 +114,12 @@ PackageTop/
115
114
  lib/
116
115
  ext/
117
116
  data/
118
- conf/
117
+ etc/
119
118
  man/
120
119
  test/
121
120
  </pre>
121
+ -->
122
+
122
123
  <h2>Hooking Tasks</h2>
123
124
  <p>
124
125
  You can hook any tasks, such as &quot;config&quot; &quot;setup&quot;.
@@ -204,5 +205,11 @@ which are included in this archive. I do not claim any rights
204
205
  on them. Removing my copyright is also OK.
205
206
  </p>
206
207
 
208
+ </div>
209
+
210
+ <div id="tigerops">
211
+ <iframe src="http://tigerops.org/assets/adverts/banner-900-1.html" scrolling="no"></frame>
212
+ </div>
213
+
207
214
  </body>
208
215
  </html>
@@ -3,11 +3,15 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
5
5
  <meta http-equiv="Content-Language" content="en">
6
- <title>Hook Script API</title>
6
+ <link href="../../assets/images/setup-small.png" rel="shortcut icon"/>
7
+ <link href="custom.css" rel="stylesheet" type="text/css"/>
8
+ <title>Setup Hook Script API</title>
7
9
  </head>
8
10
  <body>
9
-
11
+ <div id="content">
12
+ <img src="../../assets/images/setup-small.png" align="left"/>
10
13
  <h1>Hook Script API</h1>
14
+ <hr/>
11
15
  <dl>
12
16
  <dt>get_config(<var>key</var>) -&gt; String</dt>
13
17
  <dt>config(<var>key</var>) -&gt; String</dt>
@@ -86,6 +90,11 @@ returns the list of directory names in the directory
86
90
  </p>
87
91
  </dd>
88
92
  </dl>
93
+ </div>
94
+
95
+ <div id="tigerops">
96
+ <iframe src="http://tigerops.org/assets/adverts/banner-900-1.html" scrolling="no"></frame>
97
+ </div>
89
98
 
90
99
  </body>
91
100
  </html>
@@ -0,0 +1,50 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html lang="en">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
5
+ <meta http-equiv="Content-Language" content="en">
6
+ <link href="../../assets/images/setup-small.png" rel="shortcut icon"/>
7
+ <link href="custom.css" rel="stylesheet" type="text/css"/>
8
+ <title>Setup.rb User Manual</title>
9
+ </head>
10
+ <body>
11
+ <div id="content">
12
+ <img src="../../assets/images/setup-small.png" align="left"/>
13
+ <h1>Setup.rb User Manual</h1>
14
+ <hr/>
15
+ <h2>Introduction</h2>
16
+ <p>
17
+ Setup.rb is a generic installer for ruby scripts/extentions.
18
+ You can automate configuration and installation of your program
19
+ package.
20
+ </p>
21
+ <p style="color: red;">
22
+ Please note this documentation is still largely for 3.4.1,
23
+ and may contain some descrepencies with the current version.
24
+ </p>
25
+ <h2>Table of Contents</h2>
26
+ <ul>
27
+ <li><a href="usage.html">Installing Packages</a></li>
28
+ <li><a href="devel.html">Creating Packages</a></li>
29
+ <li><a href="hookapi.html">Hook Script Reference</a></li>
30
+ <li><a href="metaconfapi.html">Metaconfig Reference</a></li>
31
+ </ul>
32
+ <h2>External Links</h2>
33
+ <ul>
34
+ <li><a href="http://setup.rubyforge.org">Homepage</a></li>
35
+ <li><a href="http://rubyforge.org/projects/setup">Development</a></li>
36
+ <li><a href="http://">Mailing List</a></li>
37
+ </ul>
38
+ </div>
39
+ <div id="copyright">
40
+ Setup.rb is the artful work of Minero Aoki and 7rans Hasbeensetup.
41
+ Copyright (c) 2002, 2008. LGPL / Ruby License.
42
+ </div>
43
+
44
+ <div id="tigerops">
45
+ <iframe src="http://tigerops.org/assets/adverts/banner-900-1.html" scrolling="no"></frame>
46
+ </div>
47
+
48
+ </body>
49
+ </html>
50
+
@@ -3,11 +3,16 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
5
5
  <meta http-equiv="Content-Language" content="en">
6
- <title>metaconfig API</title>
6
+ <link href="../../assets/images/setup-small.png" rel="shortcut icon"/>
7
+ <link href="custom.css" rel="stylesheet" type="text/css"/>
8
+ <title>Setup metaconfig API</title>
7
9
  </head>
8
10
  <body>
11
+ <div id="content">
12
+ <img src="../../assets/images/setup-small.png" align="left"/>
13
+ <h1>Metaconfig API</h1>
14
+ <hr/>
9
15
 
10
- <h1>metaconfig API</h1>
11
16
  <dl>
12
17
  <dt>add_path_config(<var>confname</var>, <var>default</var>, <var>description</var>)</dt>
13
18
  <dd><dl class="typedecl">
@@ -56,6 +61,7 @@ You must use this method at your own lisk. For example,
56
61
  'remove_config(&quot;prefix&quot;)' causes fatal error.
57
62
  </p>
58
63
  </dd>
64
+ <!--
59
65
  <dt>packages -&gt; [String]</dt>
60
66
  <dd><p>
61
67
  Returns the list of package names.
@@ -73,7 +79,13 @@ This method raises RuntimeError if called in the single
73
79
  package archive.
74
80
  </p>
75
81
  </dd>
82
+ -->
76
83
  </dl>
84
+ </div>
85
+
86
+ <div id="tigerops">
87
+ <iframe src="http://tigerops.org/assets/adverts/banner-900-1.html" scrolling="no"></frame>
88
+ </div>
77
89
 
78
90
  </body>
79
91
  </html>
@@ -3,11 +3,15 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
5
5
  <meta http-equiv="Content-Language" content="en">
6
- <title>Installing Programs with setup.rb</title>
6
+ <link href="../../assets/images/setup-small.png" rel="shortcut icon"/>
7
+ <link href="custom.css" rel="stylesheet" type="text/css"/>
8
+ <title>Installing Programs with setup.rb</title>
7
9
  </head>
8
10
  <body>
9
-
10
- <h1>Installing Programs with setup.rb</h1>
11
+ <div id="content">
12
+ <img src="../../assets/images/setup-small.png" align="left"/>
13
+ <h1>Installing Programs</h1>
14
+ <hr/>
11
15
  <h2>Quick Start</h2>
12
16
  <p>
13
17
  Type this (You might needs super user previledge):
@@ -292,6 +296,11 @@ A default value is an empty string.
292
296
  </p>
293
297
  </dd>
294
298
  </dl>
299
+ </div>
300
+
301
+ <div id="tigerops">
302
+ <iframe src="http://tigerops.org/assets/adverts/banner-900-1.html" scrolling="no"></frame>
303
+ </div>
295
304
 
296
305
  </body>
297
306
  </html>
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,58 @@
1
+ <html>
2
+ <head>
3
+ <title>Setup.rb</title>
4
+ <link href="assets/styles/custom.css" rel="stylesheet" type="text/css"/>
5
+ <link href="assets/images/setup-small.png" rel="shortcut icon"/>
6
+ </head>
7
+ <body>
8
+ <div id="content" style="text-align:center;">
9
+
10
+ <br/>
11
+
12
+ <div style="float: left;">
13
+ <img src="assets/images/setup.png"/>
14
+ </div>
15
+
16
+ <div style="float: right;">
17
+ <div id="blurb">
18
+ Before RubyGems... there was...
19
+ </div>
20
+ <h1>Setup.rb</h1>
21
+ <pre id="example">
22
+ $ tar -xvzf helloworld-1.0.0.tgz
23
+ $ cd helloworld-1.0.0.tgz
24
+ $ sudo setup.rb all
25
+ </pre>
26
+ </div>
27
+
28
+ <div id="about">
29
+ Setup.rb is the generic installer for ruby scripts and extentions.
30
+ You can automate configuration and installation of your program package
31
+ very easily with setup.rb simply by following a convention. And if
32
+ you need more control, setup.rb also offers all the configuration you'll
33
+ ever need.
34
+ </div>
35
+
36
+ <div>
37
+ <!-- <a href="news.html">NEWS</a> &middot; -->
38
+ <a href="guide/doc.en/index.html">Manual in English</a> &middot;
39
+ <a href="api/index.html">API Documentation</a>
40
+ </div>
41
+
42
+ <div>
43
+
44
+ </div>
45
+
46
+ </div>
47
+
48
+ <div id="copyright">
49
+ Setup.rb is the artful work of Minero Aoki and 7rans Hasbeensetup.
50
+ Copyright (c) 2002, 2008. LGPL / Ruby License.
51
+ </div>
52
+
53
+ <div id="tigerops">
54
+ <iframe src="http://tigerops.org/assets/adverts/banner-900-1.html" scrolling="no"></frame>
55
+ </div>
56
+
57
+ </body>
58
+ </html>
@@ -0,0 +1,39 @@
1
+
2
+ <html>
3
+ <head>
4
+ <title>Setup Code Statistics</title>
5
+ <style>
6
+ h2{margin: 5px 0;}
7
+ table{width: 95%;}
8
+ th{background: #dcc;}
9
+ td{padding: 5px;}
10
+ .basic_stats{margin: 0 auto; width: 800px;}
11
+ </style>
12
+ <link rel="stylesheet" type="text/css" href="stats.css"/>
13
+ </head>
14
+ <body>
15
+ <div class="basic_stats">
16
+ <h1>Setup -- Basic Code Statistics</h1>
17
+ <table class="counts" border="1">
18
+ <tr><th colspan="9"><h2>Counts</h2></th></tr>
19
+ <tr><th>TYPE</th><th>Total</th><th>Code</th><th>-%-</th><th>Docs</th><th>-%-</th><th>Blank</th><th>-%-</th><th>Files</th></tr>
20
+ <tr><th>Source</th><td>1659</td><td>1145</td><td>69%</td><td>245</td><td>14%</td><td>269</td><td>16%</td><td>8</td></tr>
21
+ <tr><th>Test</th><td>139</td><td>120</td><td>7%</td><td>2</td><td>0%</td><td>17</td><td>1%</td><td>1</td></tr>
22
+ <tr><th>Total</th><td>1798</td><td>1265</td><td>70%</td><td>247</td><td>13%</td><td>286</td><td>15%</td><td>9</td></tr>
23
+ </table>
24
+ <br/>
25
+ <table class="ratios" border="1">
26
+ <tr><th colspan="6"><h2>Ratios</h2></th></tr>
27
+ <tr><th>x:1</th><th>Code</th><th>Docs</th><th>Blank</th><th>Test</th><th>Total</th></tr>
28
+ <tr><th>Code</th><td> 1.0</td><td> 4.7</td><td> 4.3</td><td> 8.2</td><td> 0.7</td></tr>
29
+ <tr><th>Docs</th><td> 0.2</td><td> 1.0</td><td> 0.9</td><td> 1.8</td><td> 0.1</td></tr>
30
+ <tr><th>Blank</th><td> 0.2</td><td> 1.1</td><td> 1.0</td><td> 1.9</td><td> 0.2</td></tr>
31
+ <tr><th>Test</th><td> 0.1</td><td> 0.6</td><td> 0.5</td><td> 1.0</td><td> 0.1</td></tr>
32
+ <tr><th>Total</th><td> 1.4</td><td> 6.8</td><td> 6.2</td><td> 11.9</td><td> 1.0</td></tr>
33
+ </table>
34
+ <br/>
35
+ <div class="date">Sun Nov 16 14:24:15 -0500 2008</div>
36
+ </div>
37
+ </body>
38
+ </html>
39
+
@@ -0,0 +1,28 @@
1
+ <notes>
2
+ <set label="FIXME">
3
+ <file src="lib/setup/install.rb">
4
+ <note line="170" type="FIXME">FIXME: Update shebang at time of install not before.
5
+ for now I&apos;ve commented out the shebang.</note>
6
+ <note line="465" type="FIXME">FIXME: should not remove current config files
7
+ (rename previous file to .old/.org)</note>
8
+ </file>
9
+ </set>
10
+ <set label="TODO">
11
+ <file src="lib/setup/config.rb">
12
+ <note line="196" type="TODO">TODO: Does this handle &apos;nmake&apos; on windows?</note>
13
+ </file>
14
+ <file src="lib/setup/build.rb">
15
+ <note line="1" type="TODO">TODO: Extract the compiler portion of setup and put it here.</note>
16
+ </file>
17
+ <file src="lib/setup/install.rb">
18
+ <note line="4" type="TODO">TODO: we need to abort install if tests fail (how?)
19
+ We will also need to add a force install option then.</note>
20
+ <note line="6" type="TODO">TODO: Need to get name setting from where?</note>
21
+ <note line="7" type="TODO">TODO: Add support for rdoc once project name issue is worked out. (see RDOC HERE.)</note>
22
+ <note line="8" type="TODO">TODO: Generate rdocs? Package developer may want to deactivate this.</note>
23
+ <note line="881" type="TODO">TODO: what to do with?</note>
24
+ <note line="888" type="TODO">TODO: Since package directory has been deprecated these
25
+ probably can be worked out of the system. ?</note>
26
+ </file>
27
+ </set>
28
+ </notes>