Re: credits and credits_ext.h
| From: | Hartmut Holzgraefe | Date: | Mon, 27 Nov 2000 09:04:54 +0000 |
| Subject: | Re: credits and credits_ext.h | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-39200@lists.php.net to get a copy of this message | ||
Stig Venaas wrote:
>
> Shouldn't the file ext/standard/credits_ext.h be removed from
> CVS now that it's generated by the credits script? Or isn't
> the script being used yet?
Short answer: no
the script is not interated into the make process yet, but even
if it were:
the tools needed to generate the files are not available on every
system (spell: Windows), so we should keep the generated files in
CVS just as we do with ext/standard/url_scanner_ex.c for those of
us that do not have the 're' tool installed.
i thought about generating the files during buildconf or configure as
they shouldn't change to often, but have finally decided to use
configure
to fill a make rule that will work like
credits_ext.h: $top_srcdir/ext/*/CREDITS
$top_srcdir/scripts/credits $top_srcdir/ext
credits_sapi.h: $top_srcdir/sapi/*/CREDITS
$top_srcdir/scripts/credits $top_srcdir/sapi
as make does not support wildcards in dependencies (or does it?) i will
have to use a little configure magic to fill in the actual lists of
credits files
as i'll get the new book on autoconf tomorrow this will have to wait
another day
--
Hartmut Holzgraefe hartmut@six.de http://www.six.de
+49-711-99091-77