From afff7727bfb494bb4c92ae23a35c9cbeedd51e26 Mon Sep 17 00:00:00 2001
From: "Theodore A. Roth" <troth@openavr.org>
Date: Wed, 12 Mar 2003 00:32:36 +0000
Subject: [PATCH] * windows/Makefile.am: Fix uninstall-local rule (forget the
 $$file part of the rm command).

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@281 81a1dc3b-b13d-400b-aceb-764788c761c2
---
 avrdude/ChangeLog           | 5 +++++
 avrdude/windows/Makefile.am | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/avrdude/ChangeLog b/avrdude/ChangeLog
index 8a832444..197e69cb 100644
--- a/avrdude/ChangeLog
+++ b/avrdude/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-11  Theodore A. Roth  <troth@openavr.org>
+
+	* windows/Makefile.am: Fix uninstall-local rule (forget the $$file
+	part of the rm command).
+
 2003-03-11  Theodore A. Roth  <troth@openavr.org>
 
 	* AUTHORS: Updated.
diff --git a/avrdude/windows/Makefile.am b/avrdude/windows/Makefile.am
index 2e4f17ec..9b16678f 100644
--- a/avrdude/windows/Makefile.am
+++ b/avrdude/windows/Makefile.am
@@ -54,7 +54,7 @@ install-exec-local:
 
 uninstall-local:
 	@for file in $(local_install_list); do \
-		echo " rm -f $(DESTDIR)$(bindir)"; \
-		rm -f $(DESTDIR)$(bindir); \
+		echo " rm -f $(DESTDIR)$(bindir)/$$file"; \
+		rm -f $(DESTDIR)$(bindir)/$$file; \
 	done