* Makefile.in (uninstall): Use $(DESTDIR).
authorDoug Evans <dje@google.com>
Mon, 4 Oct 2010 23:32:40 +0000 (23:32 +0000)
committerDoug Evans <dje@google.com>
Mon, 4 Oct 2010 23:32:40 +0000 (23:32 +0000)
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in

index f59b2e72c516bccf6ea12d589d56e7cf102f4211..d368bb0b4551e77035443d1531ffcb443e4a898b 100644 (file)
@@ -1,3 +1,7 @@
+2010-10-04  Doug Evans  <dje@google.com>
+
+       * Makefile.in (uninstall): Use $(DESTDIR).
+
 2010-09-24  Pedro Alves  <pedro@codesourcery.com>
 
        PR gdb/11842
index 38e2d161cbf4bd4c7ae82adc51e41391fa8e0619..51e85cb46ac736550a732ae184bf98f8cb01278f 100644 (file)
@@ -179,7 +179,7 @@ install-only:
 uninstall: force
        n=`echo gdbserver | sed '$(program_transform_name)'`; \
        if [ x$$n = x ]; then n=gdbserver; else true; fi; \
-       rm -f $(bindir)/$$n$(EXEEXT) $(DESTDIR)$(man1dir)/$$n.1
+       rm -f $(DESTDIR)/$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(man1dir)/$$n.1
 
 installcheck:
 check: