From f1048712716ae51551647d3ed855900057ba1b72 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Mon, 4 Oct 2010 23:32:40 +0000 Subject: [PATCH] * Makefile.in (uninstall): Use $(DESTDIR). --- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/Makefile.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index f59b2e72c51..d368bb0b455 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2010-10-04 Doug Evans + + * Makefile.in (uninstall): Use $(DESTDIR). + 2010-09-24 Pedro Alves PR gdb/11842 diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index 38e2d161cbf..51e85cb46ac 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in @@ -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: -- 2.30.2