Archive: Modify the license text content


Modify the license text content
Hi,

I am wondering about handling some information (software version) directly into the license text. What I mean is on one side I have the license.txt file. On the other side I have a !define PRODUCT_VERSION "vX.X.X" that helps me to build the Name. When I want to upgrade my software version, I would like to just change this define. The problem is the software version appears also into the license text: is it possible to handle the license text to replace some markup by the PRODUCT_VERSION define ?

Thanks to show me the way...

Gal'


You can't do that with a define, but you could easily that with even a half-baked build system. A simple batch file that calls sed or some other tool to replace strings would do the trick.


Okay, thanks for your answer. I could not use external batch, and decided to remove software version call into the text license. I write a subtitle line providing the version instead.