mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-30 17:18:21 +03:00
Tidy makefiles - $DESTDIR & shared library version (like LVM1)
This commit is contained in:
parent
43693cbeb8
commit
48b512b964
@ -18,10 +18,11 @@ TARGETS=$(interface)/libdevmapper.so
|
||||
include ../make.tmpl
|
||||
|
||||
install: @interface@/libdevmapper.so
|
||||
$(INSTALL) -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) $< \
|
||||
$(libdir)
|
||||
$(INSTALL) -o $(OWNER) -g $(GROUP) -m 444 libdevmapper.h \
|
||||
$(includedir)
|
||||
$(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) $< \
|
||||
$(libdir)/libdevmapper.so.$(VERSION)
|
||||
$(LN_S) -f libdevmapper.so.$(VERSION) $(libdir)/libdevmapper.so
|
||||
$(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 444 libdevmapper.h \
|
||||
$(includedir)/libdevmapper.h
|
||||
|
||||
.PHONY: install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user