From 681ac86b819acd507bd4f01cbcb597361b813d8b Mon Sep 17 00:00:00 2001
From: Alex Roitman <shura@gramps-project.org>
Date: Thu, 8 Dec 2005 02:37:15 +0000
Subject: [PATCH] * doc/gramps-manual/Makefile.am: Remove existing link before
 creating a new one.

svn: r5504
---
 gramps2/ChangeLog                     | 2 ++
 gramps2/doc/gramps-manual/Makefile.am | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog
index b3370c855..768005b92 100644
--- a/gramps2/ChangeLog
+++ b/gramps2/ChangeLog
@@ -9,6 +9,8 @@
 	* src/DateDisplay.py (_display_gregorian): Replace dashes with
 	slashes to prevent collision with the ISO format.
 	* src/po/ru.po: Translation update.
+	* doc/gramps-manual/Makefile.am: Remove existing link before
+	creating a new one.
 
 2005-12-07  Don Allingham  <don@gramps-project.org>
 	* src/Report.py: change from gtk.FILE_CHOOSER_CREATE_FOLDER to 
diff --git a/gramps2/doc/gramps-manual/Makefile.am b/gramps2/doc/gramps-manual/Makefile.am
index 66d753d80..3dc156c44 100644
--- a/gramps2/doc/gramps-manual/Makefile.am
+++ b/gramps2/doc/gramps-manual/Makefile.am
@@ -5,7 +5,7 @@ SUBDIRS = C fr
 topdocdir=$(datadir)/@PACKAGE@/gnome/help/@PACKAGE@
 
 install-data-local:
-	cd $(DESTDIR)$(topdocdir); ln -s . gramps
+	cd $(DESTDIR)$(topdocdir); rm -rf gramps; ln -s . gramps
 
 uninstall-local:
 	-rm $(DESTDIR)$(topdocdir)/gramps