From 68856755c4f18affb513d93ec94fa9307c31473a Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 13 Sep 2011 07:47:11 -0400 Subject: buildsys: remove existing symlinks before installing This fixes build errors when performing a manual install straight to a filesystem where the files already exist. Reported-by: Sergej Pupykin Signed-off-by: Dave Reisner Signed-off-by: Dan McGee --- doc/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/Makefile.am') diff --git a/doc/Makefile.am b/doc/Makefile.am index a9aa78f8..aa27b506 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -153,6 +153,7 @@ repo-remove.8: repo-add.8 install-data-hook: cd $(DESTDIR)$(mandir)/man8 && \ + $(RM) repo-remove.8 && \ ( $(LN_S) repo-add.8 repo-remove.8 || \ ln repo-add.8 repo-remove.8 || \ cp repo-add.8 repo-remove.8 ) -- cgit v1.2.3-24-g4f1b