]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove any old wxrc before installing new ones. This fixes a make
authorRobin Dunn <robin@alldunn.com>
Wed, 6 Oct 2004 18:10:22 +0000 (18:10 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 6 Oct 2004 18:10:22 +0000 (18:10 +0000)
error on OSX.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/wxrc/Makefile.in

index b947506729099e455735cc237870b6a80f48890b..34892499b478309203626930b8881e627816faf0 100644 (file)
@@ -113,6 +113,7 @@ distclean: clean
 
 @COND_USE_XRC_1@install_wxrc: 
 @COND_USE_XRC_1@       $(INSTALL_DIR) $(DESTDIR)$(bindir)
+@COND_USE_XRC_1@       rm -f $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE) $(DESTDIR)$(bindir)/wxrc$(EXEEXT)
 @COND_USE_XRC_1@       $(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(bindir)
 @COND_USE_XRC_1@       mv -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
 @COND_USE_XRC_1@       (cd $(DESTDIR)$(bindir) && $(LN_S) wxrc-$(WX_RELEASE) wxrc$(EXEEXT))