From b74c59dac2fc1ca24b4e3a5b5b42eacf869eedc1 Mon Sep 17 00:00:00 2001 From: Vladimir Volovich Date: Wed, 26 Mar 2008 11:21:13 +0000 Subject: TETEX_BUILD: "rm -f" the symlinks in $bindir before installing them, to prevent an error if "make install" is called twice git-svn-id: svn://tug.org/texlive/trunk@7162 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/xindy/user-commands/Makefile.am | 1 + Build/source/utils/xindy/user-commands/Makefile.in | 1 + 2 files changed, 2 insertions(+) diff --git a/Build/source/utils/xindy/user-commands/Makefile.am b/Build/source/utils/xindy/user-commands/Makefile.am index c57766b2837..9281440c245 100644 --- a/Build/source/utils/xindy/user-commands/Makefile.am +++ b/Build/source/utils/xindy/user-commands/Makefile.am @@ -23,6 +23,7 @@ if TETEX_BUILD install-exec-hook: xindy xindy.v2 $(MKDIR_P) "$(prefix)/texmf/scripts/xindy" + -rm -f $(bindir)/xindy $(bindir)/xindy.v2 $(bindir)/texindy $(INSTALL_SCRIPT) xindy $(prefix)/texmf/scripts/xindy/xindy.pl ln -s ../../texmf/scripts/xindy/xindy.pl $(bindir)/xindy # $(INSTALL_SCRIPT) xindy.v2 $(prefix)/texmf/scripts/xindy/xindy.v2.pl diff --git a/Build/source/utils/xindy/user-commands/Makefile.in b/Build/source/utils/xindy/user-commands/Makefile.in index f2c1ae00dae..13b8ae50843 100644 --- a/Build/source/utils/xindy/user-commands/Makefile.in +++ b/Build/source/utils/xindy/user-commands/Makefile.in @@ -393,6 +393,7 @@ uninstall-man: uninstall-man1 @TETEX_BUILD_TRUE@install-exec-hook: xindy xindy.v2 @TETEX_BUILD_TRUE@ $(MKDIR_P) "$(prefix)/texmf/scripts/xindy" +@TETEX_BUILD_TRUE@ -rm -f $(bindir)/xindy $(bindir)/xindy.v2 $(bindir)/texindy @TETEX_BUILD_TRUE@ $(INSTALL_SCRIPT) xindy $(prefix)/texmf/scripts/xindy/xindy.pl @TETEX_BUILD_TRUE@ ln -s ../../texmf/scripts/xindy/xindy.pl $(bindir)/xindy # $(INSTALL_SCRIPT) xindy.v2 $(prefix)/texmf/scripts/xindy/xindy.v2.pl -- cgit v1.2.3