Only test $(LIB_TARGET) = libwine.so.1.0 if $(LIB_TARGET) is

non-blank.
This commit is contained in:
James Juran 1999-06-26 10:15:24 +00:00 committed by Alexandre Julliard
parent 46c4d39853
commit 16e278c3d5
1 changed files with 4 additions and 2 deletions

View File

@ -200,9 +200,11 @@ uninstall_emu: uninstall_lib
install_lib: dummy install_lib: dummy
[ -d $(libdir) ] || $(MKDIR) $(libdir) [ -d $(libdir) ] || $(MKDIR) $(libdir)
if [ $(LIB_TARGET) ]; then $(INSTALL_DATA) $(LIB_TARGET) $(libdir); fi
if [ -f wine.sym ]; then $(INSTALL_DATA) wine.sym $(libdir)/wine.sym; fi if [ -f wine.sym ]; then $(INSTALL_DATA) wine.sym $(libdir)/wine.sym; fi
if [ $(LIB_TARGET) = libwine.so.1.0 ]; then $(LDCONFIG); fi if [ $(LIB_TARGET) ]; then \
$(INSTALL_DATA) $(LIB_TARGET) $(libdir); \
if [ $(LIB_TARGET) = libwine.so.1.0 ]; then $(LDCONFIG); fi \
fi
uninstall_lib: dummy uninstall_lib: dummy
cd $(libdir); $(RM) $(LIB_TARGET) libwine.a libwine.so wine.sym cd $(libdir); $(RM) $(LIB_TARGET) libwine.a libwine.so wine.sym