From e48902162839ef1cae54ce86016059fcad5a7681 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 29 Jan 2015 14:52:13 +0100 Subject: Move pkg-config file into src directory --- Makefile.am | 4 ---- configure.ac | 2 +- libideviceactivation-1.0.pc.in | 12 ------------ src/Makefile.am | 2 ++ src/libideviceactivation-1.0.pc.in | 12 ++++++++++++ 5 files changed, 15 insertions(+), 17 deletions(-) delete mode 100644 libideviceactivation-1.0.pc.in create mode 100644 src/libideviceactivation-1.0.pc.in diff --git a/Makefile.am b/Makefile.am index 8b5a7a4..8fa66b0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,9 +4,5 @@ SUBDIRS = src include tools man DISTCHECK_CONFIGURE_FLAGS = -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libideviceactivation-1.0.pc - indent: indent -kr -ut -ts4 -l120 src/*.c src/*.h dev/*.c - diff --git a/configure.ac b/configure.ac index cf8173b..a597103 100644 --- a/configure.ac +++ b/configure.ac @@ -69,9 +69,9 @@ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) AC_OUTPUT([ Makefile src/Makefile +src/libideviceactivation-1.0.pc include/Makefile tools/Makefile -libideviceactivation-1.0.pc man/Makefile ]) diff --git a/libideviceactivation-1.0.pc.in b/libideviceactivation-1.0.pc.in deleted file mode 100644 index 017ac9d..0000000 --- a/libideviceactivation-1.0.pc.in +++ /dev/null @@ -1,12 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: @PACKAGE_NAME@ -Description: A library to handle activation and deactivation of iOS devices. -Version: @PACKAGE_VERSION@ -Libs: -L${libdir} -lideviceactivation -Cflags: -I${includedir} -Requires: libplist >= @LIBPLIST_VERSION@ libimobiledevice-1.0 >= @LIBIMOBILEDEVICE_VERSION@ -Requires.private: libcurl >= @LIBCURL_VERSION@ libxml-2.0 >= @LIBXML2_VERSION@ \ No newline at end of file diff --git a/src/Makefile.am b/src/Makefile.am index 0f0d807..703c66a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -8,3 +8,5 @@ libideviceactivation_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIDEVICEACTIVA libideviceactivation_la_SOURCES = \ activation.c +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libideviceactivation-1.0.pc diff --git a/src/libideviceactivation-1.0.pc.in b/src/libideviceactivation-1.0.pc.in new file mode 100644 index 0000000..017ac9d --- /dev/null +++ b/src/libideviceactivation-1.0.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: @PACKAGE_NAME@ +Description: A library to handle activation and deactivation of iOS devices. +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lideviceactivation +Cflags: -I${includedir} +Requires: libplist >= @LIBPLIST_VERSION@ libimobiledevice-1.0 >= @LIBIMOBILEDEVICE_VERSION@ +Requires.private: libcurl >= @LIBCURL_VERSION@ libxml-2.0 >= @LIBXML2_VERSION@ \ No newline at end of file -- cgit v1.1-32-gdbae