diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-04-28 17:41:52 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-04-28 17:41:52 +0000 |
commit | 0a57dd2dbaa4e7f57e140eee2daf7b43b9bc377d (patch) | |
tree | aace7f647a6e06945156fb5ef8037fbec595ae6c | |
parent | 153b1710f3bf4708f349630e311279ce36e41904 (diff) |
Fix problems with texlinks during mingw cross-build.
git-svn-id: svn://tug.org/texlive/trunk@18035 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/tetex/Makefile.am | 3 | ||||
-rw-r--r-- | Build/source/texk/tetex/Makefile.in | 4 | ||||
-rwxr-xr-x | Build/source/texk/tetex/texlinks | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/Build/source/texk/tetex/Makefile.am b/Build/source/texk/tetex/Makefile.am index b7c7cee7f57..96db48ec8ff 100644 --- a/Build/source/texk/tetex/Makefile.am +++ b/Build/source/texk/tetex/Makefile.am @@ -155,7 +155,8 @@ EXTRA_DIST += \ ## fmtutil.cnf file to use for the sake of distro builds. ## We pass along the executable extension for the sake of cygwin, so we ## don't create dangling symlinks there (even though they work). -run_texlinks = $(bindir)/texlinks -v -f $(web2cdir)/fmtutil.cnf -e "$(EXEEXT)" +run_texlinks = $(bindir)/texlinks -v -f $(web2cdir)/fmtutil.cnf \ + -e "$(EXEEXT)" $(bindir) run-texlinks: PATH="$(bindir):$(PATH)"; export PATH; $(run_texlinks) diff --git a/Build/source/texk/tetex/Makefile.in b/Build/source/texk/tetex/Makefile.in index d0fb60f4042..bc5aaa37dcb 100644 --- a/Build/source/texk/tetex/Makefile.in +++ b/Build/source/texk/tetex/Makefile.in @@ -282,7 +282,9 @@ man1_links = $(bin_links) \ EXTRA_DIST = README.a2ping README.texdoctk doc/Makefile \ doc/TETEXDOC.bib doc/TETEXDOC.tex fontinst.bat pdfetex-pl.pool \ updmap.pl -run_texlinks = $(bindir)/texlinks -v -f $(web2cdir)/fmtutil.cnf -e "$(EXEEXT)" +run_texlinks = $(bindir)/texlinks -v -f $(web2cdir)/fmtutil.cnf \ + -e "$(EXEEXT)" $(bindir) + all: all-am .SUFFIXES: diff --git a/Build/source/texk/tetex/texlinks b/Build/source/texk/tetex/texlinks index 5ceaccdcd2d..c6fd2880aae 100755 --- a/Build/source/texk/tetex/texlinks +++ b/Build/source/texk/tetex/texlinks @@ -310,7 +310,7 @@ main() main_args_while="$@" test "x$fmt" = "x$engine" && continue - if test -f "$d/$engine"; then + if test -f "$d/$engine$exeext"; then case $unlink in true) rm_link "$d/$fmt";; |