[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Install pkgconfig file for libpoke
From: |
Thomas Weißschuh |
Subject: |
[PATCH] Install pkgconfig file for libpoke |
Date: |
Fri, 26 Feb 2021 19:25:31 +0100 |
---
.gitignore | 4 ++++
configure.ac | 4 ++++
libpoke/Makefile.am | 1 +
3 files changed, 9 insertions(+)
diff --git a/.gitignore b/.gitignore
index 7aa47532..30fade7c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -79,3 +79,7 @@ config.h.in
/testsuite/poke.sum
/testsuite/site.bak
/testsuite/site.exp
+/poke.pc
+/poke.pc.in
+/poke-uninstalled.pc
+/poke-uninstalled.sh
diff --git a/configure.ac b/configure.ac
index 1a5fc1c2..85623f4c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -240,6 +240,10 @@ AC_CONFIG_FILES(Makefile
testsuite/poke.mi-json/Makefile)
AC_CONFIG_FILES([run],
[chmod +x,-w run])
+
+dnl pkg-config description
+AX_CREATE_PKGCONFIG_INFO('libpoke/poke.pc', , , 'libpoke')
+
AC_OUTPUT
dnl Report warnings
diff --git a/libpoke/Makefile.am b/libpoke/Makefile.am
index d104f382..741cd6df 100644
--- a/libpoke/Makefile.am
+++ b/libpoke/Makefile.am
@@ -23,6 +23,7 @@ DISTCLEANFILES =
MAINTAINERCLEANFILES =
dist_pkgdata_DATA = pkl-rt.pk std.pk
+dist_pkgconfig_lib_DATA = $(pkgconfig_libfile)
lib_LTLIBRARIES = libpoke.la
--
2.30.1
- [PATCH] Install pkgconfig file for libpoke,
Thomas Weißschuh <=
- Re: [PATCH] Install pkgconfig file for libpoke, Jose E. Marchesi, 2021/02/26
- Re: [PATCH] Install pkgconfig file for libpoke, Thomas Weißschuh, 2021/02/26
- Re: [PATCH] Install pkgconfig file for libpoke, Jose E. Marchesi, 2021/02/26
- Re: [PATCH] Install pkgconfig file for libpoke, Thomas Weißschuh, 2021/02/26
- Re: [PATCH] Install pkgconfig file for libpoke, Jose E. Marchesi, 2021/02/26
- [PATCH v2] Install pkgconfig file for libpoke, Thomas Weißschuh, 2021/02/26
- Re: [PATCH v2] Install pkgconfig file for libpoke, Jose E. Marchesi, 2021/02/27
- Re: [PATCH v2] Install pkgconfig file for libpoke, Thomas Weißschuh, 2021/02/27
- Re: [PATCH v2] Install pkgconfig file for libpoke, Jose E. Marchesi, 2021/02/27