Hi,

> I have an idea how to fix this in a very generic and easy way. Give me a 
> moment and maybe I can find a proper solution for Scott's problem as well. No 
> need for artificial VERSION files, then.

I created pull request https://github.com/openxpki/openxpki/pull/210 to fix 
both issues (parallel make and vergen dependence on git).

After this is merged you will be able to extract the full version information 
to a file and include it in the shipped archive, allowing for full featured 
package builds as if executed from within a proper checkout.


>From the new docs:

vergen works best when called within a checked out git repository.
Where this is not possible (e. g. when working on an extracted
tarball without the .git directory) it is possible to include
the complete revision information before creation of the tarball
and archive this file inside the archive.

To do so, do the following in the same directory that contains the
.VERSION_DEFINITION file:

vergen --show-revisioninfo >.vergen_revision_state

If this file is present (and git is not found) subsequent calls to
vergen will use the cached information instead.


Hope this helps,

cheers

Martin


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
OpenXPKI-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-devel

Reply via email to