1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Add pkgconfigdir for placement of .pc files

Use easily overideable make install pkgconfigdir variable.
This commit is contained in:
Zdenek Kabelac 2010-05-11 08:57:02 +00:00
parent 75e69cd1b2
commit fff111fe22
5 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.65 -
=================================
Add pkgconfigdir Makefile variable for make install override.
Switch usage of Libs.private: to Requires.private: in devmapper.pc, lvm2app.pc.
Use field Requires.private: for devmapper-event.pc.
Add devmapper library to linked libdevmapper-event.so.

View File

@ -81,7 +81,7 @@ install_include: $(srcdir)/libdevmapper-event.h
$(INSTALL_DATA) -D $< $(includedir)/$(<F)
install_pkgconfig: libdevmapper-event.pc
$(INSTALL_DATA) -D $< $(usrlibdir)/pkgconfig/devmapper-event.pc
$(INSTALL_DATA) -D $< $(pkgconfigdir)/devmapper-event.pc
install_lib_dynamic: install_lib_shared

View File

@ -85,7 +85,7 @@ install_static: install_@interface@_static
install_ioctl: install_lib_shared
install_pkgconfig: libdevmapper.pc
$(INSTALL_DATA) -D $< $(usrlibdir)/pkgconfig/devmapper.pc
$(INSTALL_DATA) -D $< $(pkgconfigdir)/devmapper.pc
install_ioctl_static: $(LIB_STATIC)
$(INSTALL_DATA) -D $< $(usrlibdir)/$(<F)

View File

@ -65,7 +65,7 @@ install_static: $(LIB_STATIC)
$(INSTALL_DATA) -D $< $(usrlibdir)/$(<F)
install_pkgconfig: $(LIB_NAME).pc
$(INSTALL_DATA) -D $< $(usrlibdir)/pkgconfig/lvm2app.pc
$(INSTALL_DATA) -D $< $(pkgconfigdir)/lvm2app.pc
liblvm.cflow: $(SOURCES)
set -e; (echo -n "SOURCES += "; \

View File

@ -63,6 +63,7 @@ mandir = $(datarootdir)/man
localedir = $(DESTDIR)@LOCALEDIR@
staticdir = $(DESTDIR)@STATICDIR@
udevdir = $(DESTDIR)@udevdir@
pkgconfigdir = $(usrlibdir)/pkgconfig
USRLIB_RELPATH = $(shell echo $(abspath $(usrlibdir) $(libdir)) | \
$(AWK) -f $(top_srcdir)/scripts/relpath.awk)