[devhelp/repo-cleanup: 1/7] build: Move post-install script to its own directory




commit bff9c4c25509c064aa88cd16f9b247bf7ab2dc02
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Apr 12 14:17:15 2021 +0100

    build: Move post-install script to its own directory

 meson_post_install.py => build-aux/meson/meson_post_install.py | 0
 meson.build                                                    | 4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson_post_install.py b/build-aux/meson/meson_post_install.py
similarity index 100%
rename from meson_post_install.py
rename to build-aux/meson/meson_post_install.py
diff --git a/meson.build b/meson.build
index d71d748d..a98a9dea 100644
--- a/meson.build
+++ b/meson.build
@@ -159,8 +159,8 @@ if get_option('gtk_doc')
 endif
 
 meson.add_install_script(
-  'meson_post_install.py',
-  get_option('prefix') / get_option('datadir')
+  find_program('build-aux/meson/meson_post_install.py'),
+  get_option('prefix') / get_option('datadir'),
 )
 
 summary('Prefix', get_option('prefix'))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]