neon-config --version output format

Arfrever Frehtes Taifersar Arahesis arfrever.fta at gmail.com
Fri May 8 20:00:19 EDT 2009


2009-05-08 00:57:43 Mark Lavi napisał(a):
> Hello, I have a minor issue that I'd like to bring up.
> 
> I have a build system that attempts to programmatically determine if an
> up to date version of a software package exists before building that
> package.
> 
> The output of "neon-config --version" contains the package name and that
> prevents my simple algorithm from doing a direct comparison unless I
> filter the output. When I compare the output of other packages below,
> most of them just output the version number.
> 
> Would there be any objection to a request to drop the "neon " from the
> output for the future releases? It's implicit when you call neon-config,
> but I can see a reason for keeping it, too. I couldn't really figure out
> if there's a standard. What follows below is not a significant sampling,
> but it illustrates my point.

You can use `pkg-config neon --modversion`.

-- 
Arfrever Frehtes Taifersar Arahesis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.manyfish.co.uk/pipermail/neon/attachments/20090509/459022dc/attachment-0006.bin 


More information about the neon mailing list