[librep] fix uninstall rule



commit bd28899bc0640f48a3786e7179eb7d9e6b41197f
Author: Christopher Roy Bratusek <zanghar freenet de>
Date:   Fri Sep 10 18:04:22 2010 +0200

    fix uninstall rule

 ChangeLog       |    3 +++
 man/news.texi   |    2 ++
 src/Makefile.in |    8 ++++----
 3 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1906c73..8204f8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2010-09-10  Christohper Bratusek <zanghar freenet de>
+	* src/Makefile.in: fix uninstall rule
+
 2010-07-29  Christopher Bratusek <zanghar freenet de>
 	* lisp/rep/lang/doc.jl
 	* lisp/rep/vm/compiler/rep.jl
diff --git a/man/news.texi b/man/news.texi
index 70ec6a0..efb9d8e 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -57,6 +57,8 @@ Functions}), @code{table-size} (@pxref{Hash Tables}), @code{setcar},
 
 The former is still valid, but it's a very confusing name, therefore the latter is
 introduced.
+
+ item Makefile's uninstall rule has been fixed [Christopher Bratusek]
 @end itemize
 @heading 0.90.6
 @itemize @bullet
diff --git a/src/Makefile.in b/src/Makefile.in
index fd59d3c..2d39aa5 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -111,13 +111,13 @@ installdirs : mkinstalldirs
 	  $(DESTDIR)$(includedir)/rep/
 
 uninstall :
-	$(LIBTOOL) rm $(DESTDIR)${libdir}/librep.la
-	$(LIBTOOL) rm $(DESTDIR)${bindir}/rep
-	$(LIBTOOL) rm $(DESTDIR)${bindir}/repdoc
+	$(LIBTOOL) --mode=uninstall $(DESTDIR)${libdir}/librep.la
+	$(LIBTOOL) --mode=uninstall $(DESTDIR)${bindir}/rep
+	$(LIBTOOL) --mode=uninstall $(DESTDIR)${bindir}/repdoc
 	rm -f $(DESTDIR)${bindir}/rep-xgettext
 	rm -f $(DESTDIR)${bindir}/rep-remote
 	for dl in $(DL_DSTS); do \
-	  $(LIBTOOL) rm $(DESTDIR)${repexecdir}/$$dl; \
+	  $(LIBTOOL) --mode=uninstall $(DESTDIR)${repexecdir}/$$dl; \
 	done
 	rm -rf $(DESTDIR)$(includedir)/rep/; \
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]