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:
parent
75e69cd1b2
commit
fff111fe22
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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 += "; \
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user