From dad1984d7f85abdd500eab9607ce5894b4e38ad5 Mon Sep 17 00:00:00 2001 From: CismonX Date: Wed, 18 Jun 2025 16:13:07 +0800 Subject: [PATCH] build: move bookmarkfs_util.pc.in to ./src Whatever pkg-config is interested in all lies within ./src. --- Makefile.am | 2 -- configure.ac | 5 ++--- src/Makefile.am | 1 + bookmarkfs_util.pc.in => src/bookmarkfs_util.pc.in | 0 4 files changed, 3 insertions(+), 5 deletions(-) rename bookmarkfs_util.pc.in => src/bookmarkfs_util.pc.in (100%) diff --git a/Makefile.am b/Makefile.am index 73d58cc..23b5ba2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,5 +8,3 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = doc src tests - -pkgconfig_DATA = bookmarkfs_util.pc diff --git a/configure.ac b/configure.ac index ac0fa43..6753342 100644 --- a/configure.ac +++ b/configure.ac @@ -9,7 +9,7 @@ dnl AC_PREREQ([2.70]) AC_INIT([bookmarkfs], [0.1.2], [bug-bookmarkfs@nongnu.org]) -AC_CONFIG_SRCDIR([bookmarkfs_util.pc.in]) +AC_CONFIG_SRCDIR([src/bookmarkfs_util.pc.in]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_TESTDIR([tests]) @@ -175,8 +175,7 @@ AC_DEFINE([BUILDING_BOOKMARKFS], [1], [Define to 1 if building BookmarkFS.]) AC_CONFIG_FILES([ Makefile doc/Makefile - src/Makefile + src/Makefile src/bookmarkfs_util.pc tests/Makefile tests/atlocal - bookmarkfs_util.pc ]) AC_OUTPUT diff --git a/src/Makefile.am b/src/Makefile.am index 47bb004..49aa9fd 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -13,6 +13,7 @@ noinst_HEADERS = backend_util.h db.h defs.h frontend_util.h fs_ops.h \ xattr.h xstd.h lib_LTLIBRARIES = pkglib_LTLIBRARIES = +pkgconfig_DATA = bookmarkfs_util.pc BASE_CPPFLAGS_ = if NO_FILE_NAME diff --git a/bookmarkfs_util.pc.in b/src/bookmarkfs_util.pc.in similarity index 100% rename from bookmarkfs_util.pc.in rename to src/bookmarkfs_util.pc.in