mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2024-11-21 15:57:25 -06:00
add proper cli install target
Fixes the cli only being installed during build configuration
This commit is contained in:
parent
36ef611ef2
commit
65c3813063
5
src/tuxclocker-cli/call-cabal.sh
Executable file
5
src/tuxclocker-cli/call-cabal.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
cabal install . --overwrite-policy=always "$@"
|
@ -1,3 +1,4 @@
|
||||
install_dir = join_paths(get_option('prefix'), get_option('bindir'))
|
||||
|
||||
run_command('cabal', 'install', '--installdir=@0@'.format(install_dir))
|
||||
meson.add_install_script(
|
||||
'call-cabal.sh', '--installdir=@0@'.format(install_dir))
|
||||
|
Loading…
Reference in New Issue
Block a user