summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorVladimir Volovich <vvv@vsu.ru>2008-03-26 11:21:13 +0000
committerVladimir Volovich <vvv@vsu.ru>2008-03-26 11:21:13 +0000
commitb74c59dac2fc1ca24b4e3a5b5b42eacf869eedc1 (patch)
treeead7b3c6395f94e9922b6850bf35300102b3495a /Build/source
parentf7239a3ed9e6062702994801424409b26ba76417 (diff)
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
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/utils/xindy/user-commands/Makefile.am1
-rw-r--r--Build/source/utils/xindy/user-commands/Makefile.in1
2 files changed, 2 insertions, 0 deletions
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