From c9d76207f304df304e674add9268220fb3d325c1 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Thu, 18 May 2006 20:18:36 +0000
Subject: [PATCH] in src/Makefile.am, if we're uninstalling, remove the "rnano"
 symlink

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3526 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog       | 3 +++
 src/Makefile.am | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index f0e1a845..51caf105 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -329,6 +329,9 @@ CVS code -
 	- Mention that the nanorc file should not be in DOS or Mac
 	  format. (DLR)
 	- Add various wording fixes. (Benno Schulenberg and DLR)
+- src/Makefile.am:
+	- If we're uninstalling, remove the "rnano" symlink. (DLR, found
+	  by Benno Schulenberg)
 - TODO:
 	- Update for nano 2.0, since we're now in a feature freeze.
 	  (DLR)
diff --git a/src/Makefile.am b/src/Makefile.am
index ab861125..4b700cce 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -26,3 +26,5 @@ nano_LDADD = @GLIB_LIBS@ @LIBINTL@
 
 install-exec-hook:
 	cd $(DESTDIR)$(bindir) && rm -f rnano && $(LN_S) nano rnano
+uninstall-hook:
+	cd $(DESTDIR)$(bindir) && rm -f rnano
-- 
GitLab