diff --git a/README.md b/README.md index 61bd5c5..23fbefb 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,15 @@ cd exim-encrypt-dlfunc ```shell meson build # run only once -cd build -ninja +meson compile -C build +meson test -C build ``` 5. Copy to final destination (feel free to pick another place than `/usr/local/lib/`): -TBD… +```shell +meson install -C build +``` 6. Ensure you have the correct exim build: diff --git a/meson.build b/meson.build index 737807c..ed20c9f 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,7 @@ project('libexim-encrypt-dlfunc', 'c', - default_options: ['b_lundef=false', 'b_pie=true']) + default_options: ['b_lundef=false', 'b_pie=true'], + license: 'Apache-2.0', + version: '0.2.0') compiler = meson.get_compiler('c') conf_data = configuration_data() diff --git a/src/meson.build b/src/meson.build index c263e62..81ccf72 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,12 +1,12 @@ -configure_file( - output: 'config.h', - configuration: conf_data) +configure_file(output: 'config.h', configuration: conf_data) -executable('generate_encryption_keys', 'generate_encryption_keys.c', dependencies : [ sodium_deps ] ) +executable('generate_encryption_keys', 'generate_encryption_keys.c', + dependencies : [ sodium_deps ], + install: true) shared_library('exim-encrypt-dlfunc', 'libexim-encrypt-dlfunc.c', - dependencies : [ sodium_deps ], - install: true) + dependencies : [ sodium_deps ], + install: true) simple_exim_test = find_program('simple_exim_test.sh')