1
0
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:
Zdenek Kabelac 2010-06-03 13:52:21 +00:00
parent b5c2529bf8
commit 0337d99198
2 changed files with 2 additions and 2 deletions

View File

@ -312,7 +312,7 @@ $(LIB_SHARED): $(LIB_SHARED).$(LIB_VERSION)
install_lib_shared: $(LIB_SHARED) install_lib_shared: $(LIB_SHARED)
$(INSTALL_PROGRAM) -D $< $(libdir)/$(<F).$(LIB_VERSION) $(INSTALL_PROGRAM) -D $< $(libdir)/$(<F).$(LIB_VERSION)
$(INSTALL) -d $(usrlibdir) $(INSTALL_DIR) $(usrlibdir)
$(LN_S) -f $(USRLIB_RELPATH)$(<F).$(LIB_VERSION) $(usrlibdir)/$(<F) $(LN_S) -f $(USRLIB_RELPATH)$(<F).$(LIB_VERSION) $(usrlibdir)/$(<F)
# FIXME: plugins are installed to subdirs # FIXME: plugins are installed to subdirs

View File

@ -171,7 +171,7 @@ install_cmdlib_include: $(srcdir)/lvm2cmd.h
install_cmdlib_dynamic: liblvm2cmd.$(LIB_SUFFIX) install_cmdlib_dynamic: liblvm2cmd.$(LIB_SUFFIX)
$(INSTALL_PROGRAM) -D $< $(libdir)/$(<F).$(LIB_VERSION) $(INSTALL_PROGRAM) -D $< $(libdir)/$(<F).$(LIB_VERSION)
$(INSTALL) -d $(usrlibdir) $(INSTALL_DIR) $(usrlibdir)
$(LN_S) -f $(USRLIB_RELPATH)$(<F).$(LIB_VERSION) $(usrlibdir)/$(<F) $(LN_S) -f $(USRLIB_RELPATH)$(<F).$(LIB_VERSION) $(usrlibdir)/$(<F)
install_cmdlib_static: liblvm2cmd-static.a install_cmdlib_static: liblvm2cmd-static.a