Remove old link before creating the new one.

This commit is contained in:
Dennis Bjorklund 2000-12-10 23:11:41 +00:00 committed by Alexandre Julliard
parent 91222da881
commit 93dd2d694f

View file

@ -41,7 +41,7 @@ debug_channels: dummy
install:: $(MODULE).so
[ -d $(bindir) ] || $(MKDIR) $(bindir)
$(INSTALL_PROGRAM) $(MODULE).so $(bindir)/$(MODULE).so
cd $(bindir) && $(LN_S) wine $(MODULE)
cd $(bindir) && $(RM) $(MODULE) && $(LN_S) wine $(MODULE)
uninstall::
cd $(bindir) && $(RM) $(MODULE) $(MODULE).so