Re: parse a Makefile
| From: | Peter Hoskin | Date: | Tue, 04 Apr 2006 02:15:21 +0000 |
| Subject: | Re: parse a Makefile | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-233182@lists.php.net to get a copy of this message | ||
Makefile's are not ini files.
ini files have the structure
[section]
variable=value
[section2]
variable2=value2
Makefiles have the structure
variable=value
Benjamin D Adams wrote:
I'm trying to parse a Makefile, (FreeBSD Ports) I plan on dumping the Makefile vars to a MySQL Database. Would I parse the make file like a ini file? Or would I have to use something different? Maybe someone knows a tool that can do this for me? Thanks Ben