summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2020-06-08 15:12:54 +0200
committerGravatar Martin Szulecki2020-06-08 15:12:54 +0200
commit7f24d0ec98605c085ae030fec7a1d87ec675cad4 (patch)
tree98f6d7f99c8235807c2e77746bfb230f764fe6dd
parentb541420a9442c75e76b67b93431b60759d79937e (diff)
downloadlibirecovery-7f24d0ec98605c085ae030fec7a1d87ec675cad4.tar.gz
libirecovery-7f24d0ec98605c085ae030fec7a1d87ec675cad4.tar.bz2
Move pkg-config file into src directory as the standard recommends
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am3
-rw-r--r--src/libirecovery.pc.in (renamed from libirecovery.pc.in)0
4 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 0ddd6f7..6810a46 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,3 @@
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src include tools udev
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libirecovery.pc
diff --git a/configure.ac b/configure.ac
index 8a41541..962fecf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,9 +183,9 @@ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AC_OUTPUT([
Makefile
src/Makefile
+src/libirecovery.pc
include/Makefile
tools/Makefile
-libirecovery.pc
udev/Makefile
])
diff --git a/src/Makefile.am b/src/Makefile.am
index 265c91a..e5dc9c1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,3 +19,6 @@ libirecovery_la_SOURCES = libirecovery.c \
if WIN32
libirecovery_la_LDFLAGS += -avoid-version
endif
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libirecovery.pc
diff --git a/libirecovery.pc.in b/src/libirecovery.pc.in
index 11ac86a..11ac86a 100644
--- a/libirecovery.pc.in
+++ b/src/libirecovery.pc.in