checkinstall asking for version
Solution 1:
Ok, so I think I figured this out. It will try the following:
- Use anything after '-' in the name of the current directory. That is, naming the directory 'project-1.0' will give it a value of '1.0'. My directory was simply named 'project'.
- Second it will look for a line '#define VERSION "something"' in config.log, and give it a value of 'something'. I still don't know why my config.log doesn't have that line in it.
- If the config.log file doesn't exist, it will use the current date.
In my case, because config.log does exist, but was missing the '#define VERSION' line, it was simply getting no value at all.
Solution 2:
You can also provide version to checkinstall via --pkgversion
flag. Example:
checkinstall --pkgversion="1.2"