]> Cypherpunks repositories - keks.git/commitdiff
Install .pc
authorSergey Matveev <stargrave@stargrave.org>
Sat, 1 Nov 2025 20:37:38 +0000 (23:37 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 1 Nov 2025 20:37:38 +0000 (23:37 +0300)
c/lib/install

index 70835d2eea6b81f202e3da17882decd54929e38d64d3877fe266bd66eab88099..85b84b25cbbd67ca8add3679e0ff519c49cc7b90dc7af19d569e42a81b58a3ac 100755 (executable)
@@ -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