Skip to content

Commit

Permalink
meson: Use install_symlink available since 0.61
Browse files Browse the repository at this point in the history
  • Loading branch information
vlasakm committed Nov 2, 2023
1 parent 07041e5 commit 70d0492
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ mmoptex_fmt = custom_target(
)

# symlink mmoptex -> mmluatex
meson.add_install_script('sh', '-c',
'ln -sf mmluatex "$MESON_INSTALL_DESTDIR_PREFIX/@0@/mmoptex"'.format(get_option('bindir'))
install_symlink(
'mmoptex',
install_dir: get_option('bindir'),
pointing_to: 'mmluatex',
)

0 comments on commit 70d0492

Please sign in to comment.