mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-19 14:33:16 -04:00
build: rename binaries and paths to allow side-by-side installation
Changed the binary names to mango-wl and mmsg-wl and the configuration paths to mango-wl/ to allow parallel installations of mango main branch and wl-roots only.
This commit is contained in:
parent
10b2b733c5
commit
5b19c8da93
5 changed files with 15 additions and 15 deletions
12
meson.build
12
meson.build
|
|
@ -90,7 +90,7 @@ if get_option('asan')
|
|||
link_args += '-fsanitize=address'
|
||||
endif
|
||||
|
||||
executable('mango',
|
||||
executable('mango-wl',
|
||||
'src/mango.c',
|
||||
'src/common/util.c',
|
||||
wayland_sources,
|
||||
|
|
@ -117,7 +117,7 @@ dwl_ipc_protocol = 'protocols/dwl-ipc-unstable-v2.xml'
|
|||
|
||||
wayland_scanner_client_header = generator(
|
||||
wayland_scanner,
|
||||
output: '@BASENAME@-protocol.h',
|
||||
output: '@BASENAME@-protocol.h',
|
||||
arguments: ['client-header', '@INPUT@', '@OUTPUT@']
|
||||
)
|
||||
|
||||
|
|
@ -128,7 +128,7 @@ wayland_scanner_private_code = generator(
|
|||
)
|
||||
|
||||
# use generator in mmsg target
|
||||
executable('mmsg',
|
||||
executable('mmsg-wl',
|
||||
'mmsg/mmsg.c',
|
||||
wayland_scanner_private_code.process(dwl_ipc_protocol),
|
||||
wayland_scanner_client_header.process(dwl_ipc_protocol),
|
||||
|
|
@ -145,7 +145,7 @@ executable('mmsg',
|
|||
mandir = get_option('mandir')
|
||||
desktop_install_dir = join_paths(prefix, 'share/wayland-sessions')
|
||||
portal_install_dir = join_paths(prefix, 'share/xdg-desktop-portal')
|
||||
install_data('assets/mango.desktop', install_dir : desktop_install_dir)
|
||||
install_data('assets/mango-wl.desktop', install_dir : desktop_install_dir)
|
||||
install_data('assets/mango-portals.conf', install_dir : portal_install_dir)
|
||||
install_data('assets/config.conf', install_dir : join_paths(sysconfdir, 'mango'))
|
||||
install_data('mmsg/mmsg.1', install_dir : join_paths(mandir, 'man1'))
|
||||
install_data('assets/config.conf', install_dir : join_paths(sysconfdir, 'mango-wl'))
|
||||
install_data('mmsg/mmsg-wl.1', install_dir : join_paths(mandir, 'man1'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue