aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd
diff options
context:
space:
mode:
authorjade <lix@jade.fyi>2024-05-23 23:19:28 +0000
committerGerrit Code Review <gerrit@lix-systems>2024-05-23 23:19:28 +0000
commit9530b7f2b2b653fc11753ce452636896350324ff (patch)
tree837593bceacff5f2760594c5a115242ec63ddca9 /src/libcmd
parent677cf75473d0dd86119c4535d8733a6a0b1100c0 (diff)
parentc97e17144e0d0b666d7b79d8b4b0d581bfdf373b (diff)
Merge "packaging: rename nixexpr -> lixexpr and so on" into main
Diffstat (limited to 'src/libcmd')
-rw-r--r--src/libcmd/lix-cmd.pc.in10
-rw-r--r--src/libcmd/meson.build10
-rw-r--r--src/libcmd/nix-cmd.pc.in9
3 files changed, 15 insertions, 14 deletions
diff --git a/src/libcmd/lix-cmd.pc.in b/src/libcmd/lix-cmd.pc.in
new file mode 100644
index 000000000..f2e3f9d5e
--- /dev/null
+++ b/src/libcmd/lix-cmd.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Lix (libcmd)
+Description: Lix Package Manager (libcmd)
+Version: @PACKAGE_VERSION@
+Requires: lix-base lix-util
+Libs: -L${libdir} -llixcmd
+Cflags: -I${includedir}/lix/libcmd
diff --git a/src/libcmd/meson.build b/src/libcmd/meson.build
index 5a0e61503..4da1b496b 100644
--- a/src/libcmd/meson.build
+++ b/src/libcmd/meson.build
@@ -39,7 +39,7 @@ libcmd_generated_headers = [
]
libcmd = library(
- 'nixcmd',
+ 'lixcmd',
libcmd_generated_headers,
libcmd_sources,
dependencies : [
@@ -59,13 +59,13 @@ libcmd = library(
install_rpath : libdir,
)
-install_headers(libcmd_headers, subdir : 'nix', preserve_path : true)
+install_headers(libcmd_headers, subdir : 'lix/libcmd', preserve_path : true)
custom_target(
command : [ 'cp', '@INPUT@', '@OUTPUT@' ],
input : libcmd_generated_headers,
output : '@PLAINNAME@',
install : true,
- install_dir : includedir / 'nix',
+ install_dir : includedir / 'lix/libcmd',
)
liblixcmd = declare_dependency(
@@ -76,8 +76,8 @@ liblixcmd = declare_dependency(
# FIXME: not using the pkg-config module because it creates way too many deps
# while meson migration is in progress, and we want to not include boost here
configure_file(
- input : 'nix-cmd.pc.in',
- output : 'nix-cmd.pc',
+ input : 'lix-cmd.pc.in',
+ output : 'lix-cmd.pc',
install_dir : libdir / 'pkgconfig',
configuration : {
'prefix' : prefix,
diff --git a/src/libcmd/nix-cmd.pc.in b/src/libcmd/nix-cmd.pc.in
deleted file mode 100644
index 39575f222..000000000
--- a/src/libcmd/nix-cmd.pc.in
+++ /dev/null
@@ -1,9 +0,0 @@
-prefix=@prefix@
-libdir=@libdir@
-includedir=@includedir@
-
-Name: Nix
-Description: Nix Package Manager
-Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lnixcmd
-Cflags: -I${includedir}/nix -std=c++2a