|
From: David B. <Dav...@mo...> - 2006-08-22 08:12:44
|
S=C3=B8ren Hauberg wrote: >Besides these details it looks good, and I think this should be applied >to CVS. Assuming this gets accepted into CVS, what else is needed to aid >package developers? > > =20 > Ok, one problem I have is how to treat additional directories in the package. For example in the comm and fixed directories there are directories called doc and in fixed there is a directory called examples. The doc directories contains partial documentation that is completed automagically using the mkdoc and mktexi files to create a .texi file that can be treated with makeinfo, etc. Ideally, what I would like is that the documentation is built at the time the package is created from the CVS, with the pdf version left in the doc sub-directory and the info version copied to inst/. I'd also like that the examples directory is copied to the package without change. Basically I see that this requires several changes the the release.sh script where there is 1) A means of specifying the sub-directories that are to be copied directly to the package and which files in these sub-directories to include or ignore 2) A means at the time the package is constructed from the CVS to run configure/make on arbitrary sub-directory (to find makeinfo for example) There are probably multiple ways of implementing the above, but you Soren as the one with the most knowledge of the package manager might like to suggest the way that is the simpliest. Perhaps a Makefile in the Root of each package directory, that is not included in the package. This might include a file from the directory above with basic directives to construct the package, which might be supplemented by the developer as needed. That is including additional files and directories and building certain parts of the package when the package is constructed. Your thoughts? D. --=20 David Bateman Dav...@mo... Motorola Labs - Paris +33 1 69 35 48 04 (Ph)=20 Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)=20 91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)=20 The information contained in this communication has been classified as:=20 [x] General Business Information=20 [ ] Motorola Internal Use Only=20 [ ] Motorola Confidential Proprietary |