aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-04-10 14:30:00 +0200
committerOliver Smith <osmith@sysmocom.de>2019-04-12 14:32:25 +0200
commitb9a369c3e8d24b619af7f6cec0217261031ccda1 (patch)
tree9b2a83c1fa9e40be6508265ebf95ce62f81e6199
parent5501ba607badfcbef894db22a6968cdf23556a15 (diff)
Makefile.am: proper noarch pkgconfig install dir
Don't install the noarch osmo-gsm-manuals.pc file to $prefix/lib/x86_64-linux-gnu/pkgconfig when building a debian package (dpkg-buildpackage seems to set $libdir accordingly). Always install to $prefix/lib/pkgconfig. The debian dir for creating a package from this repository will be added in a follow up patch. Related: OS#3899 Change-Id: I63bc8ab6d2845751079f40383d2aa92c709ce2fe
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 2a7b881..479fe8e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,8 @@
share_files = $(srcdir)/build $(srcdir)/common $(srcdir)/*.xsl
share_path = "$(DESTDIR)$(prefix)/share/osmo-gsm-manuals"
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = osmo-gsm-manuals.pc
+noarch_pkgconfigdir = $(prefix)/lib/pkgconfig
+noarch_pkgconfig_DATA = osmo-gsm-manuals.pc
BUILT_SOURCES = $(top_srcdir)/.version
EXTRA_DIST = git-version-gen .version check-depends.sh $(share_files)
SUBDIRS = tests