diff options
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | fc-cache/meson.build | 2 | ||||
-rw-r--r-- | install-cache.py | 11 |
3 files changed, 1 insertions, 13 deletions
diff --git a/Makefile.am b/Makefile.am index 83db510..e10b710 100644 --- a/Makefile.am +++ b/Makefile.am @@ -39,7 +39,6 @@ MESON_FILES = \ doc/run-quiet.py \ fc-case/fc-case.py \ fc-lang/fc-lang.py \ - install-cache.py \ meson.build \ meson_options.txt \ src/cutout.py \ diff --git a/fc-cache/meson.build b/fc-cache/meson.build index 2222735..ed68d1e 100644 --- a/fc-cache/meson.build +++ b/fc-cache/meson.build @@ -9,5 +9,5 @@ tools_man_pages += ['fc-cache'] # Do not try to execute target's fc-cache on host when cross compiling if not meson.is_cross_build() - meson.add_install_script('../install-cache.py', fccache.full_path()) + meson.add_install_script(fccache, '-s', '-f', '-v') endif diff --git a/install-cache.py b/install-cache.py deleted file mode 100644 index 8fa020c..0000000 --- a/install-cache.py +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env python3 - -import sys -import argparse -import subprocess - -if __name__=='__main__': - parser = argparse.ArgumentParser() - parser.add_argument('fccache') - args = parser.parse_args() - sys.exit(subprocess.run([args.fccache, '-s', '-f', '-v']).returncode) |