hzi-bifo / mdasim

MDAsim 2: a Multiple Displacement Amplification Simulator (continued development from: https://sourceforge.net/projects/mdasim/)
GNU General Public License v3.0
1 stars 1 forks source link

version output generation based on prog and PACKAGE_STRING variables #6

Closed dlaehnemann closed 6 years ago

dlaehnemann commented 6 years ago

In src/commonMDA.c, I would generate the current version output with the printf(), i.e.:

printf("%s (%s) \n", prog, PACKAGE_STRING);

This requires updating the PACKAGE_STRING definition in include/commonMDA.h to MDAsim 2.0. I am not sure, where prog comes from, but double-check that it will output the correct version number.

And I would then fix the based on part of the version info to:

printf("mdasim 1.2 (MDAsim 1.2 \n");