From f8da7adcf28e0e5f35840b525decdfb5c6611fd7 Mon Sep 17 00:00:00 2001 From: Jesus Rodriguez Cuesta Date: Wed, 6 Oct 1999 14:00:17 +0000 Subject: [PATCH] Fix handbook symlink install problem with old version installed PR: docs/14163 Submitted by: nbm@rucus.ru.ac.za --- share/mk/doc.subdir.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/mk/doc.subdir.mk b/share/mk/doc.subdir.mk index ec729baf2a..99292fef89 100644 --- a/share/mk/doc.subdir.mk +++ b/share/mk/doc.subdir.mk @@ -1,7 +1,7 @@ # Taken from: # Id: bsd.subdir.mk,v 1.27 1999/03/21 06:43:40 bde # -# $FreeBSD$ +# $FreeBSD: doc/share/mk/doc.subdir.mk,v 1.2 1999/09/06 06:53:39 peter Exp $ # # This include file contains the default targets # for building subdirectories in the FreeBSD Documentation Project. @@ -106,7 +106,7 @@ symlinks: ${ECHO} "$${d}/$${l} doesn't exist, not linking"; \ else \ ${ECHO} $${d}/$${t} -\> $${d}/$${l}; \ - (cd $${d} && rm -f $${t}); \ + (cd $${d} && rm -rf $${t}); \ (cd $${d} && ln -s $${l} $${t}); \ fi; \ done