summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-05-14 01:10:24 +0100
committerSam James <sam@gentoo.org>2024-05-14 01:10:45 +0100
commitea4fb2a1e34900635d0db7bd1d8e5e1bea06ced0 (patch)
treeb16819cf2e247598ce711cd163186a95fd636f1f
parentfunctions.sh.in: fix typo (diff)
downloadgentoo-functions-ea4fb2a1e34900635d0db7bd1d8e5e1bea06ced0.tar.gz
gentoo-functions-ea4fb2a1e34900635d0db7bd1d8e5e1bea06ced0.tar.bz2
gentoo-functions-ea4fb2a1e34900635d0db7bd1d8e5e1bea06ced0.zip
Cleanup functions.sh.in template
No longer needed since bfd5710de9b14712c4a621259b951bd10489d0c0. Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--functions.sh (renamed from functions.sh.in)0
-rw-r--r--meson.build14
2 files changed, 2 insertions, 12 deletions
diff --git a/functions.sh.in b/functions.sh
index 6d77f59..6d77f59 100644
--- a/functions.sh.in
+++ b/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'
)