I'd like to propose a slightly different approach. Instead of having to
manually edit `debian/rules` on every minor version upgrade, how about a
generic way of getting the full version number:

```
$ cpp -E <<EOF | tail -n1 | sed 's/"*//g'
#include "lua.h"
LUA_VERSION_MAJOR.LUA_VERSION_MINOR.LUA_VERSION_RELEASE
EOF
5.5.0
```
The attached patch should thus make such manual interventions, such as bumping 
the version number, obsolete. :)

** Patch added: "rules.patch"
   
https://bugs.launchpad.net/ubuntu/+source/lua5.5/+bug/2160598/+attachment/5981809/+files/rules.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2160598

Title:
  lua5.5.pc file has an error in the version variable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lua5.5/+bug/2160598/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to