1
0
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:
Alasdair Kergon 2002-01-02 13:40:49 +00:00
parent 43693cbeb8
commit 48b512b964

View File

@ -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