ahorn/app-editors/chr/files/chr-9999-meson-install.patch
2023-03-29 19:28:27 +02:00

21 lines
738 B
Diff

diff --git a/src/meson.build b/src/meson.build
index 3bb30c1..83e1651 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -90,11 +90,13 @@ editor_lib = static_library('editor', editor_sources,
include_directories: include_directories('.'),
dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep])
-executable('editor', main,
+executable('chr', main,
vcs_dep,
include_directories: include_directories('.'),
link_with: editor_lib,
- dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep])
+ dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep],
+ install: true,
+ install_dir: '/usr/bin/')
executable('tests', tests,
qt5.preprocess(moc_headers: tests_headers, moc_sources: tests,