commit: ea4fb2a1e34900635d0db7bd1d8e5e1bea06ced0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 14 00:10:24 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 14 00:10:45 2024 +0000
URL:
https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=ea4fb2a1
Cleanup functions.sh.in template
No longer needed since bfd5710de9b14712c4a621259b951bd10489d0c0.
Signed-off-by: Sam James <sam <AT> gentoo.org>
functions.sh.in => functions.sh | 0
meson.build | 14 ++------------
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/functions.sh.in b/functions.sh
similarity index 100%
rename from functions.sh.in
rename to functions.sh
diff --git a/meson.build b/meson.build
index 6846d40..f18c5f8 100644
--- a/meson.build
+++ b/meson.build
@@ -8,18 +8,8 @@ project(
]
)
-conf_data = configuration_data()
-conf_data.set('version', meson.project_version())
-# For now, we can't really use libexec, given everyone hardcodes /lib/gentoo.
-# We might be able to install some symlinks to get around this though?
-conf_data.set('GENTOO_LIBEXEC_DIR', get_option('prefix') / 'lib' / 'gentoo')
-
-# TODO: Cleanup now that functions.sh no longer uses ecma48-cpr
-configure_file(
- input: 'functions.sh.in',
- output: 'functions.sh',
- configuration: conf_data,
- install: true,
+install_data(
+ 'functions.sh',
install_dir: 'lib/gentoo'
)