From a2c8c49f114c9c4969e5cb1d7c4bafb844c71c6cbd2669bc896f2a792157e7f6 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 1 Nov 2025 23:37:38 +0300 Subject: [PATCH] Install .pc --- c/lib/install | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/c/lib/install b/c/lib/install index 70835d2..85b84b2 100755 --- a/c/lib/install +++ b/c/lib/install @@ -3,7 +3,11 @@ cd "$(dirname "$(realpath -- "$0")")" redo-ifchange *.h libkeks.a keks.pc ../conf/prefix read PREFIX <../conf/prefix -mkdir -p $PREFIX/include/keks $PREFIX/lib +mkdir -p $PREFIX/include/keks $PREFIX/lib $PREFIX/libdata/pkgconfig cp -f *.h $PREFIX/include/keks cp -f libkeks.a $PREFIX/lib -chmod 644 $PREFIX/include/keks/*.h $PREFIX/lib/libkeks.a +cp -f keks.pc $PREFIX/libdata/pkgconfig +chmod 644 \ + $PREFIX/include/keks/*.h \ + $PREFIX/lib/libkeks.a \ + $PREFIX/libdata/pkgconfig/keks.pc -- 2.52.0