From: Sergey Matveev Date: Sat, 1 Nov 2025 20:37:38 +0000 (+0300) Subject: Install .pc X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a2c8c49f114c9c4969e5cb1d7c4bafb844c71c6cbd2669bc896f2a792157e7f6;p=keks.git Install .pc --- 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