mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Use INSTALL_DIR to create directories
This commit is contained in:
parent
b5c2529bf8
commit
0337d99198
@ -312,7 +312,7 @@ $(LIB_SHARED): $(LIB_SHARED).$(LIB_VERSION)
|
||||
|
||||
install_lib_shared: $(LIB_SHARED)
|
||||
$(INSTALL_PROGRAM) -D $< $(libdir)/$(<F).$(LIB_VERSION)
|
||||
$(INSTALL) -d $(usrlibdir)
|
||||
$(INSTALL_DIR) $(usrlibdir)
|
||||
$(LN_S) -f $(USRLIB_RELPATH)$(<F).$(LIB_VERSION) $(usrlibdir)/$(<F)
|
||||
|
||||
# FIXME: plugins are installed to subdirs
|
||||
|
@ -171,7 +171,7 @@ install_cmdlib_include: $(srcdir)/lvm2cmd.h
|
||||
|
||||
install_cmdlib_dynamic: liblvm2cmd.$(LIB_SUFFIX)
|
||||
$(INSTALL_PROGRAM) -D $< $(libdir)/$(<F).$(LIB_VERSION)
|
||||
$(INSTALL) -d $(usrlibdir)
|
||||
$(INSTALL_DIR) $(usrlibdir)
|
||||
$(LN_S) -f $(USRLIB_RELPATH)$(<F).$(LIB_VERSION) $(usrlibdir)/$(<F)
|
||||
|
||||
install_cmdlib_static: liblvm2cmd-static.a
|
||||
|
Loading…
Reference in New Issue
Block a user