* library.make: Fix uninstall
authorJackson Harper <jackson@novell.com>
Fri, 30 Apr 2004 04:43:36 +0000 (04:43 -0000)
committerJackson Harper <jackson@novell.com>
Fri, 30 Apr 2004 04:43:36 +0000 (04:43 -0000)
svn path=/trunk/mcs/; revision=26389

mcs/build/ChangeLog
mcs/build/library.make

index a5c75710934e6cf55712933c96a926670df06c0b..64b0bee7046d722b4bf5e809f98e9b8c57ca5c9c 100644 (file)
@@ -1,3 +1,7 @@
+2004-04-29  Jackson Harper  <jackson@ximian.com>
+
+       * library.make: Fix uninstall
+       
 2004-04-29  Martin Baulig  <martin@ximian.com>
 
        * rules.make: Added `INTERNAL_ILASM'.
index dd9c1a53ed17191be20bd7f4ea6080acf9637471..e762110f0278ddd845fc7af29f13ceea855efe16 100644 (file)
@@ -43,9 +43,9 @@ install-local: $(the_lib) $(gacutil)
 
 uninstall-local: $(gacutil)
        @if test -f Assembly/AssemblyInfo.cs ; then \
-               $(RUNTIME)  $(gacutil) /u $(the_lib) /f ; \
+               $(RUNTIME)  $(gacutil) /u $$(basename $(the_lib) .dll) ; \
        else \
-               -rm -f $(DESTDIR)$(prefix)/lib/$(LIBRARY)
+               -rm -f $(DESTDIR)$(prefix)/lib/$(LIBRARY) ; \
        fi
 
 $(gacutil):