summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2020-06-08 23:39:25 +0200
committerGravatar Nikias Bassen2020-06-08 23:39:25 +0200
commit60563619921981bbc76ffc4647f89542d3b3f107 (patch)
treef1690d09eb057d12b88c3e41ab399938b1fd8a6e
parent11771bf25b2fce2b0f226658388c4100871e5d9d (diff)
downloadlibusbmuxd-60563619921981bbc76ffc4647f89542d3b3f107.tar.gz
libusbmuxd-60563619921981bbc76ffc4647f89542d3b3f107.tar.bz2
Move pkg-config file into src dir and rename it to include major version as standard recommends
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am3
-rw-r--r--src/libusbmuxd-2.0.pc.in (renamed from libusbmuxd.pc.in)0
4 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index b36d76e..3344ac0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,6 +4,3 @@ SUBDIRS = common src include tools docs
EXTRA_DIST = \
README.md
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libusbmuxd.pc
diff --git a/configure.ac b/configure.ac
index cd47c01..f66b890 100644
--- a/configure.ac
+++ b/configure.ac
@@ -127,7 +127,7 @@ src/Makefile
include/Makefile
tools/Makefile
docs/Makefile
-libusbmuxd.pc
+src/libusbmuxd-2.0.pc
])
echo "
diff --git a/src/Makefile.am b/src/Makefile.am
index 38b137b..90057aa 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,3 +12,6 @@ if WIN32
libusbmuxd_la_LDFLAGS += -avoid-version -static-libgcc
libusbmuxd_la_LIBADD += -lws2_32
endif
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libusbmuxd-2.0.pc
diff --git a/libusbmuxd.pc.in b/src/libusbmuxd-2.0.pc.in
index 3385bc9..3385bc9 100644
--- a/libusbmuxd.pc.in
+++ b/src/libusbmuxd-2.0.pc.in