diff --git a/data/meson.build b/data/meson.build deleted file mode 100644 index 246973095..000000000 --- a/data/meson.build +++ /dev/null @@ -1 +0,0 @@ -subdir('tmpfiles.d') diff --git a/data/tmpfiles.d/meson.build b/data/tmpfiles.d/meson.build deleted file mode 100644 index 10cc39b30..000000000 --- a/data/tmpfiles.d/meson.build +++ /dev/null @@ -1,4 +0,0 @@ -install_data( - 'toolbox.conf', - install_dir: tmpfilesdir, -) diff --git a/doc/meson.build b/doc/meson.build deleted file mode 100644 index bad1ceec3..000000000 --- a/doc/meson.build +++ /dev/null @@ -1,32 +0,0 @@ -go_md2man_command = [ - go_md2man, - '-in', '@INPUT@', - '-out', '@OUTPUT@', -] - -manuals = [ - 'toolbox.1', - 'toolbox-create.1', - 'toolbox-enter.1', - 'toolbox-init-container.1', - 'toolbox-help.1', - 'toolbox-list.1', - 'toolbox-reset.1', - 'toolbox-rm.1', - 'toolbox-rmi.1', - 'toolbox-run.1', -] - -foreach manual: manuals - input = manual + '.md' - output = manual - - custom_target( - output, - command: go_md2man_command, - input: input, - install: true, - install_dir: join_paths(get_option('mandir'), 'man1'), - output: output, - ) -endforeach diff --git a/meson.build b/meson.build deleted file mode 100644 index 80e294515..000000000 --- a/meson.build +++ /dev/null @@ -1,37 +0,0 @@ -project( - 'toolbox', - version: '0.0.18', - license: 'ASL 2.0', - meson_version: '>= 0.40.0', -) - -go_md2man = find_program('go-md2man') -shellcheck = find_program('shellcheck', required: false) - -profiledir = get_option('profile_dir') - -systemd_dep = dependency('systemd') -tmpfilesdir = systemd_dep.get_pkgconfig_variable('tmpfilesdir') - -toolbox = files('toolbox') - -if shellcheck.found() - test('shellcheck', shellcheck, args: [toolbox]) -endif - -install_data( - toolbox, - install_dir: get_option('bindir'), -) - -bash_completion = dependency('bash-completion', required: false) -if bash_completion.found() - install_data( - 'completion/bash/toolbox', - install_dir: bash_completion.get_pkgconfig_variable('completionsdir') - ) -endif - -subdir('data') -subdir('doc') -subdir('profile.d') diff --git a/meson_options.txt b/meson_options.txt deleted file mode 100644 index fe9f4106e..000000000 --- a/meson_options.txt +++ /dev/null @@ -1,6 +0,0 @@ -option( - 'profile_dir', - description: 'Directory for profile.d files to be read by the shell on start-up', - type: 'string', - value: '/usr/share/profile.d' -) diff --git a/profile.d/meson.build b/profile.d/meson.build deleted file mode 100644 index 03b242cad..000000000 --- a/profile.d/meson.build +++ /dev/null @@ -1,10 +0,0 @@ -toolbox_sh = files('toolbox.sh') - -if shellcheck.found() - test('shellcheck profile.d', shellcheck, args: ['--shell=sh', toolbox_sh]) -endif - -install_data( - toolbox_sh, - install_dir: profiledir, -)