meson: Do not set datadir in bin template

GJS does this automatically for us using prefix and even if set it will be overwritten
This commit is contained in:
Rafał Dzięgiel
2021-09-08 20:50:23 +02:00
parent 3c500e0be9
commit c41b77a14b
2 changed files with 0 additions and 2 deletions

View File

@@ -5,6 +5,5 @@ imports.package.init({
version: '@PACKAGE_VERSION@', version: '@PACKAGE_VERSION@',
prefix: '@prefix@', prefix: '@prefix@',
libdir: '@libdir@', libdir: '@libdir@',
datadir: '@datadir@',
}); });
imports.package.run(imports.src.main@ID_POSTFIX@); imports.package.run(imports.src.main@ID_POSTFIX@);

View File

@@ -10,7 +10,6 @@ foreach id_postfix : clapper_apps
bin_conf.set('ID_POSTFIX', id_postfix) bin_conf.set('ID_POSTFIX', id_postfix)
bin_conf.set('prefix', get_option('prefix')) bin_conf.set('prefix', get_option('prefix'))
bin_conf.set('libdir', libdir) bin_conf.set('libdir', libdir)
bin_conf.set('datadir', datadir)
configure_file( configure_file(
input: 'com.github.rafostar.Clapper.in', input: 'com.github.rafostar.Clapper.in',