autobuild 0.6 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (320) hide show
  1. data/CHANGES +21 -0
  2. data/Manifest.txt +34 -0
  3. data/{README → README.txt} +0 -0
  4. data/Rakefile +13 -156
  5. data/bin/autobuild +3 -1
  6. data/lib/autobuild/import/cvs.rb +8 -2
  7. data/lib/autobuild/import/svn.rb +6 -0
  8. data/lib/autobuild/packages/autotools.rb +2 -1
  9. data/lib/autobuild/packages/genom.rb +35 -7
  10. data/lib/autobuild/packages/import.rb +1 -2
  11. data/lib/autobuild/packages/pkgconfig.rb +24 -0
  12. data/lib/autobuild/packages/ruby.rb +53 -0
  13. data/lib/autobuild/pkgconfig.rb +43 -0
  14. data/lib/autobuild/reporting.rb +1 -1
  15. data/lib/autobuild/subcommand.rb +3 -0
  16. data/lib/autobuild/timestamps.rb +4 -4
  17. data/samples/demo.rb +25 -0
  18. data/test/data/cvsroot.tar +0 -0
  19. data/test/data/svnroot.tar +0 -0
  20. data/test/data/tarimport.tar.gz +0 -0
  21. data/test/test_import_svn.rb +1 -1
  22. data/test/test_subcommand.rb +6 -3
  23. metadata +40 -369
  24. data/doc/classes/Autobuild.html +0 -557
  25. data/doc/classes/Autobuild.src/M000005.html +0 -31
  26. data/doc/classes/Autobuild.src/M000006.html +0 -47
  27. data/doc/classes/Autobuild.src/M000007.html +0 -18
  28. data/doc/classes/Autobuild.src/M000008.html +0 -18
  29. data/doc/classes/Autobuild.src/M000009.html +0 -18
  30. data/doc/classes/Autobuild.src/M000010.html +0 -18
  31. data/doc/classes/Autobuild.src/M000011.html +0 -18
  32. data/doc/classes/Autobuild.src/M000012.html +0 -18
  33. data/doc/classes/Autobuild.src/M000013.html +0 -25
  34. data/doc/classes/Autobuild.src/M000014.html +0 -19
  35. data/doc/classes/Autobuild.src/M000015.html +0 -19
  36. data/doc/classes/Autobuild.src/M000016.html +0 -16
  37. data/doc/classes/Autobuild.src/M000017.html +0 -20
  38. data/doc/classes/Autobuild.src/M000018.html +0 -18
  39. data/doc/classes/Autobuild.src/M000019.html +0 -52
  40. data/doc/classes/Autobuild.src/M000020.html +0 -44
  41. data/doc/classes/Autobuild.src/M000021.html +0 -19
  42. data/doc/classes/Autobuild.src/M000022.html +0 -19
  43. data/doc/classes/Autobuild.src/M000023.html +0 -20
  44. data/doc/classes/Autobuild.src/M000024.html +0 -22
  45. data/doc/classes/Autobuild.src/M000033.html +0 -31
  46. data/doc/classes/Autobuild.src/M000034.html +0 -47
  47. data/doc/classes/Autobuild.src/M000035.html +0 -18
  48. data/doc/classes/Autobuild.src/M000036.html +0 -18
  49. data/doc/classes/Autobuild.src/M000037.html +0 -18
  50. data/doc/classes/Autobuild.src/M000038.html +0 -18
  51. data/doc/classes/Autobuild.src/M000039.html +0 -18
  52. data/doc/classes/Autobuild.src/M000040.html +0 -18
  53. data/doc/classes/Autobuild.src/M000041.html +0 -25
  54. data/doc/classes/Autobuild.src/M000042.html +0 -19
  55. data/doc/classes/Autobuild.src/M000043.html +0 -19
  56. data/doc/classes/Autobuild.src/M000044.html +0 -16
  57. data/doc/classes/Autobuild.src/M000045.html +0 -20
  58. data/doc/classes/Autobuild.src/M000046.html +0 -18
  59. data/doc/classes/Autobuild.src/M000047.html +0 -52
  60. data/doc/classes/Autobuild.src/M000048.html +0 -44
  61. data/doc/classes/Autobuild.src/M000049.html +0 -19
  62. data/doc/classes/Autobuild.src/M000050.html +0 -19
  63. data/doc/classes/Autobuild.src/M000051.html +0 -20
  64. data/doc/classes/Autobuild.src/M000052.html +0 -22
  65. data/doc/classes/Autobuild/Autotools.html +0 -329
  66. data/doc/classes/Autobuild/Autotools.src/M000055.html +0 -20
  67. data/doc/classes/Autobuild/Autotools.src/M000056.html +0 -20
  68. data/doc/classes/Autobuild/Autotools.src/M000057.html +0 -16
  69. data/doc/classes/Autobuild/Autotools.src/M000058.html +0 -16
  70. data/doc/classes/Autobuild/Autotools.src/M000059.html +0 -22
  71. data/doc/classes/Autobuild/Autotools.src/M000060.html +0 -29
  72. data/doc/classes/Autobuild/Autotools.src/M000061.html +0 -21
  73. data/doc/classes/Autobuild/Autotools.src/M000062.html +0 -20
  74. data/doc/classes/Autobuild/Autotools.src/M000063.html +0 -32
  75. data/doc/classes/Autobuild/Autotools.src/M000083.html +0 -20
  76. data/doc/classes/Autobuild/Autotools.src/M000084.html +0 -20
  77. data/doc/classes/Autobuild/Autotools.src/M000085.html +0 -16
  78. data/doc/classes/Autobuild/Autotools.src/M000086.html +0 -16
  79. data/doc/classes/Autobuild/Autotools.src/M000087.html +0 -22
  80. data/doc/classes/Autobuild/Autotools.src/M000088.html +0 -29
  81. data/doc/classes/Autobuild/Autotools.src/M000089.html +0 -21
  82. data/doc/classes/Autobuild/Autotools.src/M000090.html +0 -20
  83. data/doc/classes/Autobuild/Autotools.src/M000091.html +0 -32
  84. data/doc/classes/Autobuild/CVSImporter.html +0 -156
  85. data/doc/classes/Autobuild/CVSImporter.src/M000036.html +0 -26
  86. data/doc/classes/Autobuild/CVSImporter.src/M000037.html +0 -18
  87. data/doc/classes/Autobuild/CVSImporter.src/M000064.html +0 -26
  88. data/doc/classes/Autobuild/CVSImporter.src/M000065.html +0 -18
  89. data/doc/classes/Autobuild/CommandNotFound.html +0 -119
  90. data/doc/classes/Autobuild/ConfigException.html +0 -119
  91. data/doc/classes/Autobuild/DarcsImporter.html +0 -139
  92. data/doc/classes/Autobuild/DarcsImporter.src/M000044.html +0 -20
  93. data/doc/classes/Autobuild/DarcsImporter.src/M000072.html +0 -20
  94. data/doc/classes/Autobuild/Exception.html +0 -233
  95. data/doc/classes/Autobuild/Exception.src/M000087.html +0 -16
  96. data/doc/classes/Autobuild/Exception.src/M000088.html +0 -16
  97. data/doc/classes/Autobuild/Exception.src/M000089.html +0 -18
  98. data/doc/classes/Autobuild/Exception.src/M000090.html +0 -24
  99. data/doc/classes/Autobuild/Exception.src/M000115.html +0 -16
  100. data/doc/classes/Autobuild/Exception.src/M000116.html +0 -16
  101. data/doc/classes/Autobuild/Exception.src/M000117.html +0 -18
  102. data/doc/classes/Autobuild/Exception.src/M000118.html +0 -24
  103. data/doc/classes/Autobuild/GenomModule.html +0 -275
  104. data/doc/classes/Autobuild/GenomModule.src/M000091.html +0 -19
  105. data/doc/classes/Autobuild/GenomModule.src/M000092.html +0 -21
  106. data/doc/classes/Autobuild/GenomModule.src/M000093.html +0 -16
  107. data/doc/classes/Autobuild/GenomModule.src/M000094.html +0 -18
  108. data/doc/classes/Autobuild/GenomModule.src/M000095.html +0 -27
  109. data/doc/classes/Autobuild/GenomModule.src/M000096.html +0 -24
  110. data/doc/classes/Autobuild/GenomModule.src/M000097.html +0 -19
  111. data/doc/classes/Autobuild/GenomModule.src/M000098.html +0 -36
  112. data/doc/classes/Autobuild/GenomModule.src/M000119.html +0 -19
  113. data/doc/classes/Autobuild/GenomModule.src/M000120.html +0 -21
  114. data/doc/classes/Autobuild/GenomModule.src/M000121.html +0 -16
  115. data/doc/classes/Autobuild/GenomModule.src/M000122.html +0 -18
  116. data/doc/classes/Autobuild/GenomModule.src/M000123.html +0 -27
  117. data/doc/classes/Autobuild/GenomModule.src/M000124.html +0 -24
  118. data/doc/classes/Autobuild/GenomModule.src/M000125.html +0 -19
  119. data/doc/classes/Autobuild/GenomModule.src/M000126.html +0 -36
  120. data/doc/classes/Autobuild/Import.html +0 -131
  121. data/doc/classes/Autobuild/Import.src/M000033.html +0 -18
  122. data/doc/classes/Autobuild/Import.src/M000061.html +0 -18
  123. data/doc/classes/Autobuild/Importer.html +0 -154
  124. data/doc/classes/Autobuild/Importer.src/M000034.html +0 -18
  125. data/doc/classes/Autobuild/Importer.src/M000035.html +0 -38
  126. data/doc/classes/Autobuild/Importer.src/M000062.html +0 -18
  127. data/doc/classes/Autobuild/Importer.src/M000063.html +0 -38
  128. data/doc/classes/Autobuild/ImporterPackage.html +0 -171
  129. data/doc/classes/Autobuild/ImporterPackage.src/M000099.html +0 -18
  130. data/doc/classes/Autobuild/ImporterPackage.src/M000100.html +0 -22
  131. data/doc/classes/Autobuild/ImporterPackage.src/M000101.html +0 -16
  132. data/doc/classes/Autobuild/ImporterPackage.src/M000127.html +0 -18
  133. data/doc/classes/Autobuild/ImporterPackage.src/M000128.html +0 -22
  134. data/doc/classes/Autobuild/ImporterPackage.src/M000129.html +0 -16
  135. data/doc/classes/Autobuild/Interpolator.html +0 -227
  136. data/doc/classes/Autobuild/Interpolator.src/M000039.html +0 -18
  137. data/doc/classes/Autobuild/Interpolator.src/M000040.html +0 -21
  138. data/doc/classes/Autobuild/Interpolator.src/M000041.html +0 -45
  139. data/doc/classes/Autobuild/Interpolator.src/M000042.html +0 -39
  140. data/doc/classes/Autobuild/Interpolator.src/M000043.html +0 -29
  141. data/doc/classes/Autobuild/Interpolator.src/M000067.html +0 -18
  142. data/doc/classes/Autobuild/Interpolator.src/M000068.html +0 -21
  143. data/doc/classes/Autobuild/Interpolator.src/M000069.html +0 -45
  144. data/doc/classes/Autobuild/Interpolator.src/M000070.html +0 -39
  145. data/doc/classes/Autobuild/Interpolator.src/M000071.html +0 -29
  146. data/doc/classes/Autobuild/MailReporter.html +0 -207
  147. data/doc/classes/Autobuild/MailReporter.src/M000045.html +0 -24
  148. data/doc/classes/Autobuild/MailReporter.src/M000046.html +0 -21
  149. data/doc/classes/Autobuild/MailReporter.src/M000047.html +0 -20
  150. data/doc/classes/Autobuild/MailReporter.src/M000048.html +0 -18
  151. data/doc/classes/Autobuild/MailReporter.src/M000049.html +0 -42
  152. data/doc/classes/Autobuild/MailReporter.src/M000073.html +0 -24
  153. data/doc/classes/Autobuild/MailReporter.src/M000074.html +0 -21
  154. data/doc/classes/Autobuild/MailReporter.src/M000075.html +0 -20
  155. data/doc/classes/Autobuild/MailReporter.src/M000076.html +0 -18
  156. data/doc/classes/Autobuild/MailReporter.src/M000077.html +0 -42
  157. data/doc/classes/Autobuild/Package.html +0 -364
  158. data/doc/classes/Autobuild/Package.src/M000073.html +0 -16
  159. data/doc/classes/Autobuild/Package.src/M000074.html +0 -16
  160. data/doc/classes/Autobuild/Package.src/M000075.html +0 -16
  161. data/doc/classes/Autobuild/Package.src/M000076.html +0 -56
  162. data/doc/classes/Autobuild/Package.src/M000077.html +0 -16
  163. data/doc/classes/Autobuild/Package.src/M000078.html +0 -16
  164. data/doc/classes/Autobuild/Package.src/M000079.html +0 -28
  165. data/doc/classes/Autobuild/Package.src/M000080.html +0 -23
  166. data/doc/classes/Autobuild/Package.src/M000081.html +0 -19
  167. data/doc/classes/Autobuild/Package.src/M000082.html +0 -18
  168. data/doc/classes/Autobuild/Package.src/M000101.html +0 -16
  169. data/doc/classes/Autobuild/Package.src/M000102.html +0 -16
  170. data/doc/classes/Autobuild/Package.src/M000103.html +0 -16
  171. data/doc/classes/Autobuild/Package.src/M000104.html +0 -56
  172. data/doc/classes/Autobuild/Package.src/M000105.html +0 -16
  173. data/doc/classes/Autobuild/Package.src/M000106.html +0 -16
  174. data/doc/classes/Autobuild/Package.src/M000107.html +0 -28
  175. data/doc/classes/Autobuild/Package.src/M000108.html +0 -23
  176. data/doc/classes/Autobuild/Package.src/M000109.html +0 -19
  177. data/doc/classes/Autobuild/Package.src/M000110.html +0 -18
  178. data/doc/classes/Autobuild/PackageException.html +0 -145
  179. data/doc/classes/Autobuild/PackageException.src/M000050.html +0 -16
  180. data/doc/classes/Autobuild/PackageException.src/M000078.html +0 -16
  181. data/doc/classes/Autobuild/Reporter.html +0 -158
  182. data/doc/classes/Autobuild/Reporter.src/M000053.html +0 -16
  183. data/doc/classes/Autobuild/Reporter.src/M000054.html +0 -16
  184. data/doc/classes/Autobuild/Reporter.src/M000081.html +0 -16
  185. data/doc/classes/Autobuild/Reporter.src/M000082.html +0 -16
  186. data/doc/classes/Autobuild/Reporting.html +0 -224
  187. data/doc/classes/Autobuild/Reporting.src/M000025.html +0 -24
  188. data/doc/classes/Autobuild/Reporting.src/M000026.html +0 -18
  189. data/doc/classes/Autobuild/Reporting.src/M000027.html +0 -18
  190. data/doc/classes/Autobuild/Reporting.src/M000028.html +0 -18
  191. data/doc/classes/Autobuild/Reporting.src/M000029.html +0 -18
  192. data/doc/classes/Autobuild/Reporting.src/M000053.html +0 -24
  193. data/doc/classes/Autobuild/Reporting.src/M000054.html +0 -18
  194. data/doc/classes/Autobuild/Reporting.src/M000055.html +0 -18
  195. data/doc/classes/Autobuild/Reporting.src/M000056.html +0 -18
  196. data/doc/classes/Autobuild/Reporting.src/M000057.html +0 -18
  197. data/doc/classes/Autobuild/SVN.html +0 -139
  198. data/doc/classes/Autobuild/SVN.src/M000038.html +0 -22
  199. data/doc/classes/Autobuild/SVN.src/M000066.html +0 -22
  200. data/doc/classes/Autobuild/SourceTreeTask.html +0 -150
  201. data/doc/classes/Autobuild/SourceTreeTask.src/M000083.html +0 -18
  202. data/doc/classes/Autobuild/SourceTreeTask.src/M000111.html +0 -18
  203. data/doc/classes/Autobuild/StdoutReporter.html +0 -160
  204. data/doc/classes/Autobuild/StdoutReporter.src/M000051.html +0 -18
  205. data/doc/classes/Autobuild/StdoutReporter.src/M000052.html +0 -18
  206. data/doc/classes/Autobuild/StdoutReporter.src/M000079.html +0 -18
  207. data/doc/classes/Autobuild/StdoutReporter.src/M000080.html +0 -18
  208. data/doc/classes/Autobuild/SubcommandFailed.html +0 -200
  209. data/doc/classes/Autobuild/SubcommandFailed.src/M000084.html +0 -16
  210. data/doc/classes/Autobuild/SubcommandFailed.src/M000085.html +0 -32
  211. data/doc/classes/Autobuild/SubcommandFailed.src/M000086.html +0 -20
  212. data/doc/classes/Autobuild/SubcommandFailed.src/M000112.html +0 -16
  213. data/doc/classes/Autobuild/SubcommandFailed.src/M000113.html +0 -32
  214. data/doc/classes/Autobuild/SubcommandFailed.src/M000114.html +0 -20
  215. data/doc/classes/Autobuild/Subprocess.html +0 -170
  216. data/doc/classes/Autobuild/Subprocess.src/M000030.html +0 -18
  217. data/doc/classes/Autobuild/Subprocess.src/M000031.html +0 -98
  218. data/doc/classes/Autobuild/Subprocess.src/M000058.html +0 -18
  219. data/doc/classes/Autobuild/Subprocess.src/M000059.html +0 -98
  220. data/doc/classes/Autobuild/Subprocess/Failed.html +0 -150
  221. data/doc/classes/Autobuild/Subprocess/Failed.src/M000032.html +0 -18
  222. data/doc/classes/Autobuild/Subprocess/Failed.src/M000060.html +0 -18
  223. data/doc/classes/Autobuild/TarImporter.html +0 -287
  224. data/doc/classes/Autobuild/TarImporter.src/M000064.html +0 -28
  225. data/doc/classes/Autobuild/TarImporter.src/M000065.html +0 -53
  226. data/doc/classes/Autobuild/TarImporter.src/M000066.html +0 -26
  227. data/doc/classes/Autobuild/TarImporter.src/M000067.html +0 -16
  228. data/doc/classes/Autobuild/TarImporter.src/M000068.html +0 -20
  229. data/doc/classes/Autobuild/TarImporter.src/M000069.html +0 -20
  230. data/doc/classes/Autobuild/TarImporter.src/M000070.html +0 -30
  231. data/doc/classes/Autobuild/TarImporter.src/M000092.html +0 -28
  232. data/doc/classes/Autobuild/TarImporter.src/M000093.html +0 -53
  233. data/doc/classes/Autobuild/TarImporter.src/M000094.html +0 -26
  234. data/doc/classes/Autobuild/TarImporter.src/M000095.html +0 -16
  235. data/doc/classes/Autobuild/TarImporter.src/M000096.html +0 -20
  236. data/doc/classes/Autobuild/TarImporter.src/M000097.html +0 -20
  237. data/doc/classes/Autobuild/TarImporter.src/M000098.html +0 -30
  238. data/doc/classes/Autobuild/UndefinedVariable.html +0 -174
  239. data/doc/classes/Autobuild/UndefinedVariable.src/M000071.html +0 -19
  240. data/doc/classes/Autobuild/UndefinedVariable.src/M000072.html +0 -18
  241. data/doc/classes/Autobuild/UndefinedVariable.src/M000099.html +0 -19
  242. data/doc/classes/Autobuild/UndefinedVariable.src/M000100.html +0 -18
  243. data/doc/classes/Hash.html +0 -152
  244. data/doc/classes/Hash.src/M000002.html +0 -26
  245. data/doc/classes/Hash.src/M000003.html +0 -23
  246. data/doc/classes/Hash.src/M000020.html +0 -26
  247. data/doc/classes/Hash.src/M000021.html +0 -23
  248. data/doc/classes/RMail.html +0 -111
  249. data/doc/classes/RMail/Message.html +0 -140
  250. data/doc/classes/RMail/Message.src/M000004.html +0 -25
  251. data/doc/classes/RMail/Message.src/M000028.html +0 -25
  252. data/doc/classes/TC_CVSImport.html +0 -180
  253. data/doc/classes/TC_CVSImport.src/M000025.html +0 -22
  254. data/doc/classes/TC_CVSImport.src/M000026.html +0 -21
  255. data/doc/classes/TC_CVSImport.src/M000027.html +0 -36
  256. data/doc/classes/TC_Config.html +0 -182
  257. data/doc/classes/TC_Config.src/M000006.html +0 -20
  258. data/doc/classes/TC_Config.src/M000007.html +0 -18
  259. data/doc/classes/TC_Config.src/M000008.html +0 -29
  260. data/doc/classes/TC_Config.src/M000009.html +0 -20
  261. data/doc/classes/TC_ConfigInterpolation.html +0 -198
  262. data/doc/classes/TC_ConfigInterpolation.src/M000002.html +0 -18
  263. data/doc/classes/TC_ConfigInterpolation.src/M000003.html +0 -18
  264. data/doc/classes/TC_ConfigInterpolation.src/M000004.html +0 -26
  265. data/doc/classes/TC_ConfigInterpolation.src/M000005.html +0 -24
  266. data/doc/classes/TC_SVNImport.html +0 -180
  267. data/doc/classes/TC_SVNImport.src/M000017.html +0 -22
  268. data/doc/classes/TC_SVNImport.src/M000018.html +0 -21
  269. data/doc/classes/TC_SVNImport.src/M000019.html +0 -43
  270. data/doc/classes/TC_Subcommand.html +0 -208
  271. data/doc/classes/TC_Subcommand.src/M000022.html +0 -31
  272. data/doc/classes/TC_Subcommand.src/M000023.html +0 -18
  273. data/doc/classes/TC_Subcommand.src/M000024.html +0 -30
  274. data/doc/classes/TC_TarImporter.html +0 -247
  275. data/doc/classes/TC_TarImporter.src/M000010.html +0 -28
  276. data/doc/classes/TC_TarImporter.src/M000011.html +0 -21
  277. data/doc/classes/TC_TarImporter.src/M000012.html +0 -20
  278. data/doc/classes/TC_TarImporter.src/M000013.html +0 -20
  279. data/doc/classes/TC_TarImporter.src/M000014.html +0 -26
  280. data/doc/classes/TC_TarImporter.src/M000015.html +0 -31
  281. data/doc/classes/TC_TarImporter.src/M000016.html +0 -24
  282. data/doc/classes/TestTools.html +0 -189
  283. data/doc/classes/TestTools.src/M000029.html +0 -19
  284. data/doc/classes/TestTools.src/M000030.html +0 -18
  285. data/doc/classes/TestTools.src/M000031.html +0 -25
  286. data/doc/classes/TestTools.src/M000032.html +0 -24
  287. data/doc/created.rid +0 -1
  288. data/doc/files/README.html +0 -378
  289. data/doc/files/demo_rb.html +0 -115
  290. data/doc/files/lib/autobuild/config_rb.html +0 -136
  291. data/doc/files/lib/autobuild/config_rb.src/M000001.html +0 -18
  292. data/doc/files/lib/autobuild/environment_rb.html +0 -101
  293. data/doc/files/lib/autobuild/exceptions_rb.html +0 -101
  294. data/doc/files/lib/autobuild/import/cvs_rb.html +0 -110
  295. data/doc/files/lib/autobuild/import/darcs_rb.html +0 -110
  296. data/doc/files/lib/autobuild/import/svn_rb.html +0 -109
  297. data/doc/files/lib/autobuild/import/tar_rb.html +0 -108
  298. data/doc/files/lib/autobuild/importer_rb.html +0 -109
  299. data/doc/files/lib/autobuild/loaders/config-interpolator_rb.html +0 -108
  300. data/doc/files/lib/autobuild/loaders/config_rb.html +0 -113
  301. data/doc/files/lib/autobuild/package_rb.html +0 -110
  302. data/doc/files/lib/autobuild/packages/autotools_rb.html +0 -112
  303. data/doc/files/lib/autobuild/packages/genom_rb.html +0 -109
  304. data/doc/files/lib/autobuild/packages/import_rb.html +0 -109
  305. data/doc/files/lib/autobuild/reporting_rb.html +0 -114
  306. data/doc/files/lib/autobuild/subcommand_rb.html +0 -108
  307. data/doc/files/lib/autobuild/timestamps_rb.html +0 -124
  308. data/doc/files/lib/autobuild_rb.html +0 -110
  309. data/doc/files/test/test_config_interpolation_rb.html +0 -111
  310. data/doc/files/test/test_config_rb.html +0 -111
  311. data/doc/files/test/test_import_cvs_rb.html +0 -119
  312. data/doc/files/test/test_import_svn_rb.html +0 -119
  313. data/doc/files/test/test_import_tar_rb.html +0 -120
  314. data/doc/files/test/test_subcommand_rb.html +0 -120
  315. data/doc/files/test/tools_rb.html +0 -110
  316. data/doc/fr_class_index.html +0 -26
  317. data/doc/fr_file_index.html +0 -27
  318. data/doc/fr_method_index.html +0 -26
  319. data/doc/index.html +0 -24
  320. data/doc/rdoc-style.css +0 -208
@@ -1,31 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>test_tar_remote (TC_TarImporter)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File test/test_import_tar.rb, line 61</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_tar_remote</span>
15
- <span class="ruby-identifier">web_server</span> <span class="ruby-keyword kw">do</span>
16
- <span class="ruby-comment cmt"># Try to get the file through the http server</span>
17
- <span class="ruby-identifier">pkg</span> = <span class="ruby-constant">Package</span>.<span class="ruby-identifier">new</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">TestTools</span>.<span class="ruby-identifier">tempdir</span>, <span class="ruby-value str">'tarimport'</span>), <span class="ruby-value str">'tarimport'</span>
18
- <span class="ruby-identifier">importer</span> = <span class="ruby-constant">TarImporter</span>.<span class="ruby-identifier">new</span> <span class="ruby-value str">'http://localhost:2000/files/data/tarimport.tar.gz'</span>, <span class="ruby-identifier">:cachedir</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@cachedir</span>
19
-
20
- <span class="ruby-identifier">importer</span>.<span class="ruby-identifier">checkout</span>(<span class="ruby-identifier">pkg</span>)
21
- <span class="ruby-identifier">assert</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-identifier">pkg</span>.<span class="ruby-identifier">srcdir</span>))
22
- <span class="ruby-identifier">assert</span>(<span class="ruby-operator">!</span><span class="ruby-identifier">importer</span>.<span class="ruby-identifier">update_cache</span>)
23
-
24
- <span class="ruby-identifier">sleep</span> <span class="ruby-value">2</span> <span class="ruby-comment cmt"># The Time class have a 1-second resolution</span>
25
- <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">touch</span> <span class="ruby-ivar">@tarfile</span>
26
- <span class="ruby-identifier">assert</span>(<span class="ruby-identifier">importer</span>.<span class="ruby-identifier">update_cache</span>)
27
- <span class="ruby-identifier">assert</span>(<span class="ruby-operator">!</span><span class="ruby-identifier">importer</span>.<span class="ruby-identifier">update_cache</span>)
28
- <span class="ruby-keyword kw">end</span>
29
- <span class="ruby-keyword kw">end</span></pre>
30
- </body>
31
- </html>
@@ -1,24 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>test_tar_remote_notfound (TC_TarImporter)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File test/test_import_tar.rb, line 78</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_tar_remote_notfound</span>
15
- <span class="ruby-identifier">web_server</span> <span class="ruby-keyword kw">do</span>
16
- <span class="ruby-comment cmt"># Try to get the file through the http server</span>
17
- <span class="ruby-identifier">pkg</span> = <span class="ruby-constant">Package</span>.<span class="ruby-identifier">new</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">TestTools</span>.<span class="ruby-identifier">tempdir</span>, <span class="ruby-value str">'tarimport'</span>), <span class="ruby-value str">'tarimport'</span>
18
- <span class="ruby-identifier">importer</span> = <span class="ruby-constant">TarImporter</span>.<span class="ruby-identifier">new</span> <span class="ruby-value str">'http://localhost:2000/files/data/tarimport-nofile.tar.gz'</span>, <span class="ruby-identifier">:cachedir</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@cachedir</span>
19
-
20
- <span class="ruby-identifier">assert_raise</span>(<span class="ruby-constant">Autobuild</span><span class="ruby-operator">::</span><span class="ruby-constant">Exception</span>) { <span class="ruby-identifier">importer</span>.<span class="ruby-identifier">checkout</span>(<span class="ruby-identifier">pkg</span>) }
21
- <span class="ruby-keyword kw">end</span>
22
- <span class="ruby-keyword kw">end</span></pre>
23
- </body>
24
- </html>
@@ -1,189 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: TestTools</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Module</strong></td>
53
- <td class="class-name-in-header">TestTools</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/test/tools_rb.html">
59
- test/tools.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- </table>
66
- </div>
67
- <!-- banner header -->
68
-
69
- <div id="bodyContent">
70
-
71
-
72
-
73
- <div id="contextContent">
74
-
75
-
76
-
77
- </div>
78
-
79
- <div id="method-list">
80
- <h3 class="section-bar">Methods</h3>
81
-
82
- <div class="name-list">
83
- <a href="#M000031">build_config</a>&nbsp;&nbsp;
84
- <a href="#M000030">clean</a>&nbsp;&nbsp;
85
- <a href="#M000029">tempdir</a>&nbsp;&nbsp;
86
- <a href="#M000032">untar</a>&nbsp;&nbsp;
87
- </div>
88
- </div>
89
-
90
- </div>
91
-
92
-
93
- <!-- if includes -->
94
-
95
- <div id="section">
96
-
97
-
98
- <div id="constants-list">
99
- <h3 class="section-bar">Constants</h3>
100
-
101
- <div class="name-list">
102
- <table summary="Constants">
103
- <tr class="top-aligned-row context-row">
104
- <td class="context-item-name">DATADIR</td>
105
- <td>=</td>
106
- <td class="context-item-value">File.join(File.dirname(__FILE__), 'data')</td>
107
- </tr>
108
- </table>
109
- </div>
110
- </div>
111
-
112
-
113
-
114
-
115
-
116
-
117
- <!-- if method_list -->
118
- <div id="methods">
119
- <h3 class="section-bar">Public Class methods</h3>
120
-
121
- <div id="method-M000031" class="method-detail">
122
- <a name="M000031"></a>
123
-
124
- <div class="method-heading">
125
- <a href="TestTools.src/M000031.html" target="Code" class="method-signature"
126
- onclick="popupCode('TestTools.src/M000031.html');return false;">
127
- <span class="method-name">build_config</span><span class="method-args">(bind, template)</span>
128
- </a>
129
- </div>
130
-
131
- <div class="method-description">
132
- </div>
133
- </div>
134
-
135
- <div id="method-M000030" class="method-detail">
136
- <a name="M000030"></a>
137
-
138
- <div class="method-heading">
139
- <a href="TestTools.src/M000030.html" target="Code" class="method-signature"
140
- onclick="popupCode('TestTools.src/M000030.html');return false;">
141
- <span class="method-name">clean</span><span class="method-args">()</span>
142
- </a>
143
- </div>
144
-
145
- <div class="method-description">
146
- </div>
147
- </div>
148
-
149
- <div id="method-M000029" class="method-detail">
150
- <a name="M000029"></a>
151
-
152
- <div class="method-heading">
153
- <a href="TestTools.src/M000029.html" target="Code" class="method-signature"
154
- onclick="popupCode('TestTools.src/M000029.html');return false;">
155
- <span class="method-name">tempdir</span><span class="method-args">()</span>
156
- </a>
157
- </div>
158
-
159
- <div class="method-description">
160
- </div>
161
- </div>
162
-
163
- <div id="method-M000032" class="method-detail">
164
- <a name="M000032"></a>
165
-
166
- <div class="method-heading">
167
- <a href="TestTools.src/M000032.html" target="Code" class="method-signature"
168
- onclick="popupCode('TestTools.src/M000032.html');return false;">
169
- <span class="method-name">untar</span><span class="method-args">(file)</span>
170
- </a>
171
- </div>
172
-
173
- <div class="method-description">
174
- </div>
175
- </div>
176
-
177
-
178
- </div>
179
-
180
-
181
- </div>
182
-
183
-
184
- <div id="validator-badges">
185
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
186
- </div>
187
-
188
- </body>
189
- </html>
@@ -1,19 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>tempdir (TestTools)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File test/tools.rb, line 8</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">tempdir</span>
15
- <span class="ruby-ivar">@tmpdir</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">Dir</span><span class="ruby-operator">::</span><span class="ruby-identifier">tmpdir</span>, <span class="ruby-node">&quot;/autobuild-test-#{Process.uid}&quot;</span>)
16
- <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">mkdir_p</span>(<span class="ruby-ivar">@tmpdir</span>, <span class="ruby-identifier">:mode</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">0700</span>)
17
- <span class="ruby-keyword kw">end</span></pre>
18
- </body>
19
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>clean (TestTools)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File test/tools.rb, line 13</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">clean</span>
15
- <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm_rf</span> <span class="ruby-identifier">tempdir</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>build_config (TestTools)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File test/tools.rb, line 17</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">build_config</span>(<span class="ruby-identifier">bind</span>, <span class="ruby-identifier">template</span>)
15
- <span class="ruby-identifier">eval</span> <span class="ruby-node">&quot;basedir = '#{self.tempdir}'&quot;</span>, <span class="ruby-identifier">bind</span>
16
- <span class="ruby-identifier">ryml</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">DATADIR</span>, <span class="ruby-node">&quot;#{template}.ryml&quot;</span>)) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">readlines</span> }.<span class="ruby-identifier">join</span>(<span class="ruby-value str">''</span>)
17
- <span class="ruby-identifier">result</span> = <span class="ruby-constant">ERB</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">ryml</span>).<span class="ruby-identifier">result</span>(<span class="ruby-identifier">bind</span>)
18
-
19
- <span class="ruby-identifier">yml</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">tempdir</span>, <span class="ruby-node">&quot;#{template}.yml&quot;</span>)
20
- <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">yml</span>, <span class="ruby-value str">'w+'</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">result</span>) }
21
-
22
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">yml</span>
23
- <span class="ruby-keyword kw">end</span></pre>
24
- </body>
25
- </html>
@@ -1,24 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>untar (TestTools)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File test/tools.rb, line 28</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">untar</span>(<span class="ruby-identifier">file</span>)
15
- <span class="ruby-identifier">file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">file</span>, <span class="ruby-constant">DATADIR</span>)
16
- <span class="ruby-identifier">dir</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">tempdir</span>
17
- <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">chdir</span>(<span class="ruby-identifier">dir</span>) <span class="ruby-keyword kw">do</span>
18
- <span class="ruby-identifier">system</span>(<span class="ruby-node">&quot;tar xf #{file}&quot;</span>)
19
- <span class="ruby-keyword kw">end</span>
20
-
21
- <span class="ruby-identifier">dir</span>
22
- <span class="ruby-keyword kw">end</span></pre>
23
- </body>
24
- </html>
data/doc/created.rid DELETED
@@ -1 +0,0 @@
1
- Fri Aug 18 14:42:30 CEST 2006
@@ -1,378 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: README</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>README</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>README
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Fri Aug 18 14:42:05 CEST 2006</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <h1>Introduction</h1>
73
- <h2>WARNING for 0.5 users</h2>
74
- <p>
75
- Old configuration files used with autobuild 0.5 aren&#8217;t accepted by
76
- Autobuild 0.6. Since 0.6, Autobuild uses Ruby for configuration (just like
77
- rake does)
78
- </p>
79
- <h2>What&#8217;s autobuild ?</h2>
80
- <p>
81
- Autobuild is a builder for a set of software packages. It takes as input a
82
- yaml config file as input and
83
- </p>
84
- <ul>
85
- <li>imports the package from a SCM or (optionnaly) updates it
86
-
87
- </li>
88
- <li>configures it. This phase can handle code generation, configuration (for
89
- instance for autotools-based
90
-
91
- </li>
92
- </ul>
93
- <p>
94
- packages), &#8230;
95
- </p>
96
- <ul>
97
- <li>build
98
-
99
- </li>
100
- <li>install
101
-
102
- </li>
103
- </ul>
104
- <p>
105
- It takes the dependencies between packages into account in its build
106
- process.
107
- </p>
108
- <h2>Available packages</h2>
109
- <h3>Common usage</h3>
110
- <p>
111
- All package objects define the following attributes
112
- </p>
113
- <table>
114
- <tr><td valign="top"><b>srcdir</b>:</td><td>where the package sources are located
115
-
116
- </td></tr>
117
- <tr><td valign="top"><b>importer</b>:</td><td>the importer object (see &quot;Available importers&quot; below)
118
-
119
- </td></tr>
120
- <tr><td valign="top"><b>prefix</b>:</td><td>the directory where the package should be installed. If it is a relative
121
- path, it is relative to the value of Autobuild.prefix. The default is to
122
- use the package name.
123
-
124
- </td></tr>
125
- </table>
126
- <p>
127
- All package methods (Autobuild.import, Autobuild.autotools) has either a
128
- package name for first argument, or a name =&gt; [dependencies] hash, and
129
- take a block which can be used to configure the package. For instance
130
- </p>
131
- <pre>
132
- Autobuild.import :my_package do |pkg|
133
- end
134
-
135
- Autobuild.import :my_package =&gt; [:depends, :depends_also] do |pkg|
136
- end
137
- </pre>
138
- <h3>Source only</h3>
139
- <pre>
140
- package = Autobuild.import(dependencies) do |pkg|
141
- &lt;package configuration&gt;
142
- end
143
- </pre>
144
- <p>
145
- Use <tt>import</tt> if you need the package sources but don&#8217;t need to
146
- build it. You just need to set up the importer and <tt>srcdir</tt>.
147
- <tt>prefix</tt> is ignored.
148
- </p>
149
- <h3>Autotools</h3>
150
- <pre>
151
- package = Autobuild.autotools(name, dependencies) do |pkg|
152
- &lt;package configuration&gt;
153
- end
154
- </pre>
155
- <p>
156
- Use this to build GNU autotools-based packages. This handles autoconf-only
157
- packages as well as those using automake
158
- </p>
159
- <p>
160
- Options to give the <tt>configure</tt> script are given in the
161
- <tt>configureflags</tt> array
162
- </p>
163
- <pre>
164
- pkg.configureflags = ['--with-blah', 'FOO=bar' ]
165
- </pre>
166
- <p>
167
- If you want the files produced during the build to be separated from the
168
- source files, set the <tt>builddir</tt> attribute. For now, it has to be a
169
- relative path, relative to the source directory.
170
- </p>
171
- <pre>
172
- pkg.builddir = 'build'
173
- </pre>
174
- <p>
175
- The generation of the configure script uses four programs:
176
- <tt>autoheader</tt>, <tt>autoconf</tt>, <tt>aclocal</tt>,
177
- <tt>automake</tt>. The default program path can be overriden in the
178
- Autotools.programs hash. For instance, to be sure that
179
- <tt>automake-1.9</tt> is used &lt;bb&gt;for all packages&lt;/bb&gt;, you
180
- set
181
- </p>
182
- <pre>
183
- Autotools.programs['automake'] = 'automake-1.9'
184
- </pre>
185
- <p>
186
- Autobuild tries to detect what tools it should run, but you can override.
187
- Autodetection works as follows:
188
- </p>
189
- <ul>
190
- <li>if a script named <tt>autogen</tt> or +autogen.sh+ exists in the package
191
- source directory, it is run and the other tools are not. The name of this
192
- kind of script can be set by calling Autotools#use
193
-
194
- <pre>
195
- pkg.use :autogen =&gt; 'my_autogen_script'
196
- </pre>
197
- </li>
198
- <li><tt>autoheader</tt> is never used by default
199
-
200
- </li>
201
- <li><tt>autoconf</tt> is used if there is <tt>configure.ac</tt> or
202
- <tt>configure.in</tt> in the source dir
203
-
204
- </li>
205
- <li><tt>aclocal</tt> is used if <tt>autoconf</tt> is enabled (either
206
- explicitely or by autodetection)
207
-
208
- </li>
209
- <li><tt>automake</tt> is used if there is a <tt>Makefile.am</tt> file in the
210
- source dir
211
-
212
- </li>
213
- <li>you can force to enable or disable any of these steps by calling
214
- Autotools#use. Set it to <tt>true</tt> to force its usage, <tt>false</tt>
215
- to disable it or to a string to force the usage of a particular program
216
-
217
- <pre>
218
- pkg.use :autogen =&gt; false
219
- pkg.use :automake =&gt; false
220
- pkg.use :autoheader =&gt; true
221
- pkg.use :autoconf =&gt; 'my_autoconf_program'
222
- </pre>
223
- <p>
224
- The &#8216;autogen&#8217; option cannot be set to <tt>true</tt>.
225
- </p>
226
- </li>
227
- </ul>
228
- <p>
229
- The only program used during the build and install phases is <tt>make</tt>.
230
- Its path can be overriden in the Autobuild.programs hash
231
- </p>
232
- <pre>
233
- Autobuild.programs['make'] = 'gnumake'
234
- </pre>
235
- <h2>Available importers</h2>
236
- <p>
237
- You must set an importer object for each package. The package importer is
238
- the <tt>importer</tt> attribute and is set via <tt>package.importer =
239
- my_importer</tt>. An importer <tt>foo</tt> is defined by the class
240
- Autobuild::FooImporter and defines a Autobuild.foo method which creates a
241
- new importer object. Importer classes files are in
242
- <tt>lib/autobuild/import/</tt>
243
- </p>
244
- <h3>CVS</h3>
245
- <pre>
246
- package.importer = cvs(cvsroot, module[, options])
247
- </pre>
248
- <p>
249
- Where <tt>options</tt> is an option hash. See also Autobuild::CVSImporter
250
- and Autobuild.cvs
251
- </p>
252
- <ul>
253
- <li>the default CVS command is <tt>cvs</tt>. It can be changed by
254
-
255
- <pre>
256
- Autobuild.programs['cvs'] = 'my_cvs_command'
257
- </pre>
258
- </li>
259
- <li>the default checkout option is <tt>-P</tt>. You can change that by giving a
260
- <tt>cvsco</tt> option
261
-
262
- <pre>
263
- cvs cvsroot, module, :cvsco =&gt; ['--my', '--cvs', '--options']
264
- </pre>
265
- </li>
266
- <li>the default update option is <tt>-dP</tt>. You can change that by giving a
267
- <tt>cvsup</tt> option
268
-
269
- <pre>
270
- cvs cvsroot, module, :cvsup =&gt; ['--my', '--cvs', '--options']
271
- </pre>
272
- </li>
273
- </ul>
274
- <h3>Subversion</h3>
275
- <pre>
276
- package.importer = svn(url[, options])
277
- </pre>
278
- <p>
279
- Where <tt>options</tt> is an option hash. See also Autobuild::SVNImporter
280
- and Autobuild.svn
281
- </p>
282
- <ul>
283
- <li>the default Subversion command is <tt>svn</tt>. It can be changed by
284
-
285
- <pre>
286
- Autobuild.programs['svn'] = 'my_svn_command'
287
- </pre>
288
- </li>
289
- <li>by default, no options are given to checkout. You add some by giving a
290
- <tt>svnco</tt> option
291
-
292
- <pre>
293
- svn url, :svnco =&gt; ['--my', '--svn', '--options']
294
- </pre>
295
- </li>
296
- <li>by default, no options are given to update. You can add some by giving a
297
- <tt>svnup</tt> option
298
-
299
- <pre>
300
- svn url, :svnup =&gt; ['--my', '--svn', '--options']
301
- </pre>
302
- </li>
303
- </ul>
304
- <h3><b>Darcs</b></h3>
305
- <pre>
306
- package.importer = darcs(url[, options])
307
- </pre>
308
- <p>
309
- Where <tt>options</tt> is a hash. See also Autobuild::DarcsImporter and
310
- Autobuild.darcs
311
- </p>
312
- <ul>
313
- <li>the default Darcs command is <tt>darcs</tt>. It can be changed by
314
-
315
- <pre>
316
- Autobuild.programs['darcs'] = 'my_svn_command'
317
- </pre>
318
- </li>
319
- <li>by default, no options are given to get. You add some by giving a
320
- <tt>get</tt> option
321
-
322
- <pre>
323
- darcs url, :get =&gt; ['--my', '--darcs', '--options']
324
- </pre>
325
- </li>
326
- <li>by default, no options are given to pull. You can add some by giving a
327
- <tt>pull</tt> option
328
-
329
- <pre>
330
- darcs url, :pull =&gt; ['--my', '--darcs', '--options']
331
- </pre>
332
- </li>
333
- </ul>
334
- <h1>Copyright and license</h1>
335
- <table>
336
- <tr><td valign="top">Author:</td><td>Sylvain Joyeux &lt;sylvain.joyeux@m4x.org&gt;
337
-
338
- </td></tr>
339
- <tr><td valign="top">Copyright:</td><td>Copyright &#169; 2005-2006 Sylvain Joyeux
340
-
341
- </td></tr>
342
- <tr><td valign="top">License:</td><td>GPL
343
-
344
- </td></tr>
345
- </table>
346
-
347
- </div>
348
-
349
-
350
- </div>
351
-
352
-
353
- </div>
354
-
355
-
356
- <!-- if includes -->
357
-
358
- <div id="section">
359
-
360
-
361
-
362
-
363
-
364
-
365
-
366
-
367
- <!-- if method_list -->
368
-
369
-
370
- </div>
371
-
372
-
373
- <div id="validator-badges">
374
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
375
- </div>
376
-
377
- </body>
378
- </html>