mmm. not that much. You are right, we don't need a new directory.
I'm thinking about patching mkindex.php to include config.php (with the new BUILD_TYPE constant) and add some IF statements. Does it sound better ?


They are different as mkindex.php is written for phpdoc :

- peardoc needs peardoc/global.ent to be parsed
- $parse_dirs is not the same
- there's not revision.xml file

Here's another patch : http://didou.keliglia.com/build_patch_v2.txt

Would it be possible to create some type of config file, which sets the required values and possibly defines some functions (as with the layout)? Now it might seem to be appropriate to do some exceptions, but then if you try to integrate PHP-GTK or Smarty docs parsing, it will get difficult to patch around.


Goba

Reply via email to