As reported here, older versions of make don't support else if-like constructs, so we need to just use plain if statements or nest them if absolutely necessary.
Additionally, we were missing the logic to set MAJORVERSION based on VERSION if the former is not present. Older PostgreSQL versions need this, so I've added it.
As reported here, older versions of make don't support
else if
-like constructs, so we need to just use plainif
statements or nest them if absolutely necessary.Additionally, we were missing the logic to set
MAJORVERSION
based onVERSION
if the former is not present. Older PostgreSQL versions need this, so I've added it.Fixes #83.