Skip to content

Commit

Permalink
[11_34] Fix installation of fonts on Linux and macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii authored Aug 13, 2024
1 parent ba09e0b commit 607dc83
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions xmake/research.lua
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,14 @@ function add_target_research_on_others()
end

if is_plat("linux") then
add_installfiles("$(projectdir)/TeXmacs(/fonts/enc/**)")
add_installfiles("$(projectdir)/TeXmacs(/fonts/tfm/**)")
add_installfiles("$(projectdir)/TeXmacs(/fonts/type1/**)")
add_installfiles("$(projectdir)/TeXmacs(/fonts/virtual/**)")
add_installfiles("$(projectdir)/TeXmacs(/*scm)")
add_installfiles("$(projectdir)/TeXmacs(/*LICENSE)")
add_installfiles("$(projectdir)/TeXmacs(/fonts/enc/**)", {prefixdir="share/Xmacs"})
add_installfiles("$(projectdir)/TeXmacs(/fonts/tfm/**)", {prefixdir="share/Xmacs"})
add_installfiles("$(projectdir)/TeXmacs(/fonts/type1/**)", {prefixdir="share/Xmacs"})
add_installfiles("$(projectdir)/TeXmacs(/fonts/virtual/**)", {prefixdir="share/Xmacs"})
add_installfiles("$(projectdir)/TeXmacs(/fonts/*scm)", {prefixdir="share/Xmacs"})
add_installfiles("$(projectdir)/TeXmacs(/fonts/*LICENSE)", {prefixdir="share/Xmacs"})
elseif is_plat("macosx") then
add_installfiles("$(projectdir)/TeXmacs(/fonts/**)", {prefixdir="share/Xmacs"})
else
add_installfiles("$(projectdir)/TeXmacs(/fonts/**)")
end
Expand Down

0 comments on commit 607dc83

Please sign in to comment.