ahorn/app-editors/chr/files/chr-9999-meson-install.patch

21 lines
727 B
Diff
Raw Normal View History

2023-02-28 14:00:14 +00:00
diff --git a/src/meson.build b/src/meson.build
index c809a0f..229688e 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -81,10 +81,12 @@ editor_lib = static_library('editor', editor_sources,
include_directories: include_directories('.'),
dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep])
-executable('editor', main,
+executable('chr', main,
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,