add dynamic version to build via meson

remove unused arg in misc
mark arg as unused in addtax
update translations
This commit is contained in:
2018-09-25 16:36:01 -03:00
parent 8e5ddc62e7
commit 43ea64918b
10 changed files with 44 additions and 26 deletions

3
src/include/addtax.h.in Normal file
View File

@@ -0,0 +1,3 @@
#define _(STRING) gettext(STRING)
#define TAX 1.111111111
#define VERSION "@version@"

5
src/include/meson.build Normal file
View File

@@ -0,0 +1,5 @@
conf_data = configuration_data()
conf_data.set('version', meson.project_version())
configure_file(input : 'addtax.h.in',
output : 'addtax.h',
configuration : conf_data)

1
src/include/misc.h Normal file
View File

@@ -0,0 +1 @@
bool is_float(const char *string);