AmigaLabs / clib4

Clib4 for AmigaOS4
Other
14 stars 7 forks source link

When installing CLIB2, include - somehow - a reference to which version was installed #139

Closed 3246251196 closed 4 months ago

3246251196 commented 1 year ago

When building CLIB2 and finally running "make install" it will be useful to know which version was installed. This ticket is to create a way to do that. For example, "make install" shall also copy across a file named version.txt to wherever it is installed to with - at least - the GIT revision.

@3246251196

3246251196 commented 12 months ago

It is possible to bring in the version string, "\0VER: ...." and embed it into the clib4.library. I do not see that happening at the moment. Should we consider it?

Also, is c.lib_rev.h automatically updated?

afxgroup commented 12 months ago

clib4 should have already $VER. did you try "version clib4.library FULL"? c.lib_rev.h is not updated because we need bumprev for linux or something else that will update that file at every "make release" that should: 1) bump revision 2) recompile without debug 3) create release 4) optional put a release on github via api?

3246251196 commented 12 months ago

Okay, thanks for the info. I can see the version string.

As for your last comment, that is a good idea, but a different topic I guess. I will close this ticket now,

3246251196 commented 8 months ago

@walkero-gr @afxgroup I re-opened this ticket since we discussed this in today's meeting. Close it if we need to / if it is not relevant.

3246251196 commented 7 months ago

@afxgroup @walkero-gr I guess we can close this now?

walkero-gr commented 7 months ago

Yeah, I guess so.