From 07cd5e5ea463bf22cc31691884ffe1c8664e9eea Mon Sep 17 00:00:00 2001 From: Kylie McClain Date: Sun, 19 Jul 2015 02:24:40 -0400 Subject: [PATCH] Makefile: install pkgconfig files to arch-dependent location --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 174ea87..077d11b 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ VERSION = 0.4.7 distdir = $(PACKAGE)-$(VERSION) prefix = /usr/local datadir = $(prefix)/share +libdir = $(prefix)/lib pkgdatadir = $(datadir)/poppler all : poppler-data.pc @@ -14,8 +15,8 @@ install : all install -m 0644 $(name-to-unicode-files) $(DESTDIR)$(pkgdatadir)/nameToUnicode install -d -m 0755 $(DESTDIR)$(pkgdatadir)/unicodeMap install -m 0644 $(unicode-map-files) $(DESTDIR)$(pkgdatadir)/unicodeMap - install -d -m 0755 $(DESTDIR)$(datadir)/pkgconfig - install -m 0644 poppler-data.pc $(DESTDIR)$(datadir)/pkgconfig + install -d -m 0755 $(DESTDIR)$(libdir)/pkgconfig + install -m 0644 poppler-data.pc $(DESTDIR)$(libdir)/pkgconfig for f in $(cmap-files); do \ install -d -m 0755 $(DESTDIR)$(pkgdatadir)/`dirname $$f`; \ -- 2.4.6