Skip to content

Commit

Permalink
meson: Use custom_target's env option
Browse files Browse the repository at this point in the history
  • Loading branch information
vlasakm committed Nov 2, 2023
1 parent 70d0492 commit c70a19b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ mmoptex_fmt = custom_target(
'mmoptex.fmt',
input: files('texmf/tex/mmoptex/mmoptex.ini'),
output: 'mmoptex.fmt',
env: {
'TEXMF': meson.current_source_dir() + '/texmf',
'TEXMFCNF': '/none', # no config files
},
command: [
'env',
'TEXMF=' + meson.current_source_dir() + '/texmf',
'TEXMFCNF=/none', # no config files
mmluatex,
'-ini',
'@INPUT@'
Expand Down

0 comments on commit c70a19b

Please sign in to comment.