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




commit 80385cff3c89550907e3f022e27914a317960759
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 a844177b..e148bcfc 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]